From aa7f2cdc998525776b29a6780b3c0a210b69fa7d Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Thu, 30 May 2024 18:07:35 +0200 Subject: [PATCH] update dash Signed-off-by: Andreas Gerler --- .../dash-autoloads.el | 56 +++++----- .../dash-pkg.el | 4 +- .../dash.el | 6 +- .../dash.info | 100 +++++++++--------- .../dir | 0 elpa/dash-readme.txt | 8 -- 6 files changed, 82 insertions(+), 92 deletions(-) rename elpa/{dash-20230714.723 => dash-20240510.1327}/dash-autoloads.el (84%) rename elpa/{dash-20230714.723 => dash-20240510.1327}/dash-pkg.el (69%) rename elpa/{dash-20230714.723 => dash-20240510.1327}/dash.el (99%) rename elpa/{dash-20230714.723 => dash-20240510.1327}/dash.info (99%) rename elpa/{dash-20230714.723 => dash-20240510.1327}/dir (100%) delete mode 100644 elpa/dash-readme.txt diff --git a/elpa/dash-20230714.723/dash-autoloads.el b/elpa/dash-20240510.1327/dash-autoloads.el similarity index 84% rename from elpa/dash-20230714.723/dash-autoloads.el rename to elpa/dash-20240510.1327/dash-autoloads.el index 6783a8d0..f9084138 100644 --- a/elpa/dash-20230714.723/dash-autoloads.el +++ b/elpa/dash-20240510.1327/dash-autoloads.el @@ -1,17 +1,29 @@ -;;; dash-autoloads.el --- automatically extracted autoloads -*- lexical-binding: t -*- -;; +;;; dash-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*- +;; Generated by the `loaddefs-generate' function. + +;; This file is part of GNU Emacs. + ;;; Code: -(add-to-list 'load-path (directory-file-name - (or (file-name-directory #$) (car load-path)))) +(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path))) + -;;;### (autoloads nil "dash" "dash.el" (0 0 0 0)) ;;; Generated autoloads from dash.el (autoload 'dash-fontify-mode "dash" "\ Toggle fontification of Dash special variables. +Dash-Fontify mode is a buffer-local minor mode intended for Emacs +Lisp buffers. Enabling it causes the special variables bound in +anaphoric Dash macros to be fontified. These anaphoras include +`it', `it-index', `acc', and `other'. In older Emacs versions +which do not dynamically detect macros, Dash-Fontify mode +additionally fontifies Dash macro calls. + +See also `dash-fontify-mode-lighter' and +`global-dash-fontify-mode'. + This is a minor mode. If called interactively, toggle the `Dash-Fontify mode' mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode. @@ -26,20 +38,8 @@ evaluate `dash-fontify-mode'. The mode's hook is called both when the mode is enabled and when it is disabled. -Dash-Fontify mode is a buffer-local minor mode intended for Emacs -Lisp buffers. Enabling it causes the special variables bound in -anaphoric Dash macros to be fontified. These anaphoras include -`it', `it-index', `acc', and `other'. In older Emacs versions -which do not dynamically detect macros, Dash-Fontify mode -additionally fontifies Dash macro calls. - -See also `dash-fontify-mode-lighter' and -`global-dash-fontify-mode'. - -\(fn &optional ARG)" t nil) - +(fn &optional ARG)" t) (put 'global-dash-fontify-mode 'globalized-minor-mode t) - (defvar global-dash-fontify-mode nil "\ Non-nil if Global Dash-Fontify mode is enabled. See the `global-dash-fontify-mode' command @@ -47,9 +47,7 @@ for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node `Easy Customization') or call the function `global-dash-fontify-mode'.") - (custom-autoload 'global-dash-fontify-mode "dash" nil) - (autoload 'global-dash-fontify-mode "dash" "\ Toggle Dash-Fontify mode in all buffers. With prefix ARG, enable Global Dash-Fontify mode if ARG is positive; @@ -64,24 +62,22 @@ Dash-Fontify mode is enabled in all buffers where See `dash-fontify-mode' for more information on Dash-Fontify mode. -\(fn &optional ARG)" t nil) - +(fn &optional ARG)" t) (autoload 'dash-register-info-lookup "dash" "\ Register the Dash Info manual with `info-lookup-symbol'. -This allows Dash symbols to be looked up with \\[info-lookup-symbol]." t nil) - +This allows Dash symbols to be looked up with \\[info-lookup-symbol]." t) (register-definition-prefixes "dash" '("!cdr" "!cons" "--" "->" "-a" "-butlast" "-c" "-d" "-e" "-f" "-gr" "-i" "-juxt" "-keep" "-l" "-m" "-no" "-o" "-p" "-r" "-s" "-t" "-u" "-value-to-list" "-when-let" "-zip" "dash-")) - -;;;*** -;;;### (autoloads nil nil ("dash-pkg.el") (0 0 0 0)) +;;; End of scraped data + +(provide 'dash-autoloads) -;;;*** - ;; Local Variables: ;; version-control: never ;; no-byte-compile: t ;; no-update-autoloads: t -;; coding: utf-8 +;; no-native-compile: t +;; coding: utf-8-emacs-unix ;; End: + ;;; dash-autoloads.el ends here diff --git a/elpa/dash-20230714.723/dash-pkg.el b/elpa/dash-20240510.1327/dash-pkg.el similarity index 69% rename from elpa/dash-20230714.723/dash-pkg.el rename to elpa/dash-20240510.1327/dash-pkg.el index e2592b7c..6b4ebeff 100644 --- a/elpa/dash-20230714.723/dash-pkg.el +++ b/elpa/dash-20240510.1327/dash-pkg.el @@ -1,6 +1,6 @@ -(define-package "dash" "20230714.723" "A modern list library for Emacs" +(define-package "dash" "20240510.1327" "A modern list library for Emacs" '((emacs "24")) - :commit "f46268c75cb7c18361d3cee942cd4dc14a03aef4" :authors + :commit "1de9dcb83eacfb162b6d9a118a4770b1281bcd84" :authors '(("Magnar Sveen" . "magnars@gmail.com")) :maintainers '(("Magnar Sveen" . "magnars@gmail.com")) diff --git a/elpa/dash-20230714.723/dash.el b/elpa/dash-20240510.1327/dash.el similarity index 99% rename from elpa/dash-20230714.723/dash.el rename to elpa/dash-20240510.1327/dash.el index d9007175..ed2a8592 100644 --- a/elpa/dash-20230714.723/dash.el +++ b/elpa/dash-20240510.1327/dash.el @@ -1,6 +1,6 @@ ;;; dash.el --- A modern list library for Emacs -*- lexical-binding: t -*- -;; Copyright (C) 2012-2023 Free Software Foundation, Inc. +;; Copyright (C) 2012-2024 Free Software Foundation, Inc. ;; Author: Magnar Sveen ;; Version: 2.19.1 @@ -2108,7 +2108,7 @@ last item in second form, etc." Insert X at the position signified by the symbol `it' in the first form. If there are more forms, insert the first form at the position -signified by `it' in in second form, etc." +signified by `it' in the second form, etc." (declare (debug (form body))) `(-as-> ,x it ,@forms)) @@ -3298,6 +3298,8 @@ Return the sorted list. LIST is NOT modified by side effects. COMPARATOR is called with two elements of LIST, and should return non-nil if the first element should sort before the second." (declare (important-return-value t)) + ;; Not yet worth changing to (sort list :lessp comparator); + ;; still seems as fast or slightly faster. (sort (copy-sequence list) comparator)) (defmacro --sort (form list) diff --git a/elpa/dash-20230714.723/dash.info b/elpa/dash-20240510.1327/dash.info similarity index 99% rename from elpa/dash-20230714.723/dash.info rename to elpa/dash-20240510.1327/dash.info index a99d3237..4a660217 100644 --- a/elpa/dash-20230714.723/dash.info +++ b/elpa/dash-20240510.1327/dash.info @@ -2,7 +2,7 @@ This is dash.info, produced by makeinfo version 6.7 from dash.texi. This manual is for Dash version 2.19.1. - Copyright © 2012–2023 Free Software Foundation, Inc. + Copyright © 2012–2024 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, @@ -24,7 +24,7 @@ Dash This manual is for Dash version 2.19.1. - Copyright © 2012–2023 Free Software Foundation, Inc. + Copyright © 2012–2024 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, @@ -2427,7 +2427,7 @@ readability. Insert X at the position signified by the symbol ‘it’ in the first form. If there are more forms, insert the first form at the - position signified by ‘it’ in in second form, etc. + position signified by ‘it’ in the second form, etc. (--> "def" (concat "abc" it "ghi")) ⇒ "abcdefghi" @@ -4892,53 +4892,53 @@ Node: Threading macros84441 Ref: ->84666 Ref: ->>85154 Ref: -->85657 -Ref: -as->86213 -Ref: -some->86667 -Ref: -some->>87052 -Ref: -some-->87499 -Ref: -doto88066 -Node: Binding88619 -Ref: -when-let88826 -Ref: -when-let*89287 -Ref: -if-let89816 -Ref: -if-let*90182 -Ref: -let90805 -Ref: -let*96895 -Ref: -lambda97832 -Ref: -setq98638 -Node: Side effects99439 -Ref: -each99633 -Ref: -each-while100160 -Ref: -each-indexed100780 -Ref: -each-r101372 -Ref: -each-r-while101814 -Ref: -dotimes102458 -Node: Destructive operations103011 -Ref: !cons103229 -Ref: !cdr103433 -Node: Function combinators103626 -Ref: -partial103830 -Ref: -rpartial104348 -Ref: -juxt104996 -Ref: -compose105448 -Ref: -applify106055 -Ref: -on106485 -Ref: -flip107257 -Ref: -rotate-args107781 -Ref: -const108410 -Ref: -cut108752 -Ref: -not109232 -Ref: -orfn109776 -Ref: -andfn110569 -Ref: -iteratefn111356 -Ref: -fixfn112058 -Ref: -prodfn113632 -Node: Development114783 -Node: Contribute115072 -Node: Contributors116084 -Node: FDL118177 -Node: GPL143497 -Node: Index181246 +Ref: -as->86214 +Ref: -some->86668 +Ref: -some->>87053 +Ref: -some-->87500 +Ref: -doto88067 +Node: Binding88620 +Ref: -when-let88827 +Ref: -when-let*89288 +Ref: -if-let89817 +Ref: -if-let*90183 +Ref: -let90806 +Ref: -let*96896 +Ref: -lambda97833 +Ref: -setq98639 +Node: Side effects99440 +Ref: -each99634 +Ref: -each-while100161 +Ref: -each-indexed100781 +Ref: -each-r101373 +Ref: -each-r-while101815 +Ref: -dotimes102459 +Node: Destructive operations103012 +Ref: !cons103230 +Ref: !cdr103434 +Node: Function combinators103627 +Ref: -partial103831 +Ref: -rpartial104349 +Ref: -juxt104997 +Ref: -compose105449 +Ref: -applify106056 +Ref: -on106486 +Ref: -flip107258 +Ref: -rotate-args107782 +Ref: -const108411 +Ref: -cut108753 +Ref: -not109233 +Ref: -orfn109777 +Ref: -andfn110570 +Ref: -iteratefn111357 +Ref: -fixfn112059 +Ref: -prodfn113633 +Node: Development114784 +Node: Contribute115073 +Node: Contributors116085 +Node: FDL118178 +Node: GPL143498 +Node: Index181247  End Tag Table diff --git a/elpa/dash-20230714.723/dir b/elpa/dash-20240510.1327/dir similarity index 100% rename from elpa/dash-20230714.723/dir rename to elpa/dash-20240510.1327/dir diff --git a/elpa/dash-readme.txt b/elpa/dash-readme.txt deleted file mode 100644 index b6baaa2d..00000000 --- a/elpa/dash-readme.txt +++ /dev/null @@ -1,8 +0,0 @@ -A modern list api for Emacs. - -See documentation on https://github.com/magnars/dash.el#functions - -**Please note** The lexical binding in this file is not utilised at the -moment. We will take full advantage of lexical binding in an upcoming 3.0 -release of Dash. In the meantime, we've added the pragma to avoid a bug that -you can read more about in https://github.com/magnars/dash.el/issues/130. -- 2.47.3