From a59ba1b1fab2f1f8f1b7ce1cedb94b71d172c19c Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Wed, 6 Jan 2021 16:17:27 +0100 Subject: [PATCH] update async --- bba.org | 2 +- elpa/async-20200113.1745/async-pkg.el | 8 -------- .../async-autoloads.el | 10 ++++++++++ .../async-bytecomp.el | 10 ++-------- elpa/async-20200809.501/async-pkg.el | 12 ++++++++++++ .../async.el | 0 .../dired-async.el | 0 .../smtpmail-async.el | 0 8 files changed, 25 insertions(+), 17 deletions(-) delete mode 100644 elpa/async-20200113.1745/async-pkg.el rename elpa/{async-20200113.1745 => async-20200809.501}/async-autoloads.el (91%) rename elpa/{async-20200113.1745 => async-20200809.501}/async-bytecomp.el (94%) create mode 100644 elpa/async-20200809.501/async-pkg.el rename elpa/{async-20200113.1745 => async-20200809.501}/async.el (100%) rename elpa/{async-20200113.1745 => async-20200809.501}/dired-async.el (100%) rename elpa/{async-20200113.1745 => async-20200809.501}/smtpmail-async.el (100%) diff --git a/bba.org b/bba.org index 09c6142d..5efbe17a 100644 --- a/bba.org +++ b/bba.org @@ -285,7 +285,7 @@ Keep track of your important stuff! #+BEGIN_SRC emacs-lisp :tangle yes (if (>= emacs-major-version 24) (progn - (add-to-list 'load-path "~/.emacs.d/elpa/async-20200113.1745") + (add-to-list 'load-path "~/.emacs.d/elpa/async-20200809.501") (require 'async) ) ) diff --git a/elpa/async-20200113.1745/async-pkg.el b/elpa/async-20200113.1745/async-pkg.el deleted file mode 100644 index dbce789b..00000000 --- a/elpa/async-20200113.1745/async-pkg.el +++ /dev/null @@ -1,8 +0,0 @@ -(define-package "async" "20200113.1745" "Asynchronous processing in Emacs" - '((emacs "24.3")) - :keywords - '("async") - :url "https://github.com/jwiegley/emacs-async") -;; Local Variables: -;; no-byte-compile: t -;; End: diff --git a/elpa/async-20200113.1745/async-autoloads.el b/elpa/async-20200809.501/async-autoloads.el similarity index 91% rename from elpa/async-20200113.1745/async-autoloads.el rename to elpa/async-20200809.501/async-autoloads.el index de07d21f..210aebe2 100644 --- a/elpa/async-20200113.1745/async-autoloads.el +++ b/elpa/async-20200809.501/async-autoloads.el @@ -98,6 +98,11 @@ Byte compile asynchronously packages installed with package.el. Async compilation of packages can be controlled by `async-bytecomp-allowed-packages'. +If called interactively, enable Async-Bytecomp-Package mode if +ARG is positive, and disable it if ARG is zero or negative. If +called from Lisp, also enable the mode if ARG is omitted or nil, +and toggle it if ARG is `toggle'; disable the mode otherwise. + \(fn &optional ARG)" t nil) (autoload 'async-byte-compile-file "async-bytecomp" "\ @@ -127,6 +132,11 @@ or call the function `dired-async-mode'.") (autoload 'dired-async-mode "dired-async" "\ Do dired actions asynchronously. +If called interactively, enable Dired-Async mode if ARG is +positive, and disable it if ARG is zero or negative. If called +from Lisp, also enable the mode if ARG is omitted or nil, and +toggle it if ARG is `toggle'; disable the mode otherwise. + \(fn &optional ARG)" t nil) (autoload 'dired-async-do-copy "dired-async" "\ diff --git a/elpa/async-20200113.1745/async-bytecomp.el b/elpa/async-20200809.501/async-bytecomp.el similarity index 94% rename from elpa/async-20200113.1745/async-bytecomp.el rename to elpa/async-20200809.501/async-bytecomp.el index 1198497f..430d196b 100644 --- a/elpa/async-20200113.1745/async-bytecomp.el +++ b/elpa/async-20200809.501/async-bytecomp.el @@ -41,17 +41,11 @@ (require 'cl-lib) (require 'async) -(defcustom async-bytecomp-allowed-packages - ;; FIXME: Arguably the default should be `all', but currently - ;; this minor mode is silently/forcefully enabled by Helm and Magit to ensure - ;; they get compiled asynchronously, so this conservative default value is - ;; here to make sure that the mode can be enabled without the user's - ;; explicit consent. - '(async forge helm helm-core helm-ls-git helm-ls-hg magit) +(defcustom async-bytecomp-allowed-packages 'all "Packages in this list will be compiled asynchronously by `package--compile'. All the dependencies of these packages will be compiled async too, so no need to add dependencies to this list. -The value of this variable can also be the symbol `all', in this case +The value of this variable can also be the symbol `all' (default), in this case all packages are always compiled asynchronously." :group 'async :type '(choice diff --git a/elpa/async-20200809.501/async-pkg.el b/elpa/async-20200809.501/async-pkg.el new file mode 100644 index 00000000..19b84371 --- /dev/null +++ b/elpa/async-20200809.501/async-pkg.el @@ -0,0 +1,12 @@ +(define-package "async" "20200809.501" "Asynchronous processing in Emacs" + '((emacs "24.3")) + :commit "14f48de586b0977e3470f053b810d77b07ea427a" :authors + '(("John Wiegley" . "jwiegley@gmail.com")) + :maintainer + '("John Wiegley" . "jwiegley@gmail.com") + :keywords + '("convenience" "async") + :url "https://github.com/jwiegley/emacs-async") +;; Local Variables: +;; no-byte-compile: t +;; End: diff --git a/elpa/async-20200113.1745/async.el b/elpa/async-20200809.501/async.el similarity index 100% rename from elpa/async-20200113.1745/async.el rename to elpa/async-20200809.501/async.el diff --git a/elpa/async-20200113.1745/dired-async.el b/elpa/async-20200809.501/dired-async.el similarity index 100% rename from elpa/async-20200113.1745/dired-async.el rename to elpa/async-20200809.501/dired-async.el diff --git a/elpa/async-20200113.1745/smtpmail-async.el b/elpa/async-20200809.501/smtpmail-async.el similarity index 100% rename from elpa/async-20200113.1745/smtpmail-async.el rename to elpa/async-20200809.501/smtpmail-async.el -- 2.47.3