[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/async d422df5 24/60: Add new var to allow calling emacs
From: |
Stefan Monnier |
Subject: |
[elpa] externals/async d422df5 24/60: Add new var to allow calling emacs with -Q or -q (#80). |
Date: |
Tue, 8 Oct 2019 10:11:30 -0400 (EDT) |
branch: externals/async
commit d422df55c7aa33df61804a7394c40169f56c33f4
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>
Add new var to allow calling emacs with -Q or -q (#80).
* async.el (async-quiet-switch): Do it.
(async-start): Do it.
---
async.el | 8 +++++++-
dired-async.el | 4 +++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/async.el b/async.el
index f4eaadd..c1fb40b 100644
--- a/async.el
+++ b/async.el
@@ -231,6 +231,12 @@ working directory."
(set (make-local-variable 'async-callback-for-process) t))
proc)))
+(defvar async-quiet-switch "-Q"
+ "The Emacs parameter to use to call emacs without config.
+Can be one of \"-Q\" or \"-q\".
+Default is \"-Q\" but it is sometimes useful to use \"-q\" to have a
+enhanced config or some more variables loaded.")
+
;;;###autoload
(defun async-start (start-func &optional finish-func)
"Execute START-FUNC (often a lambda) in a subordinate Emacs process.
@@ -288,7 +294,7 @@ returns nil. It can still be useful, however, as an
argument to
(expand-file-name invocation-name
invocation-directory))
finish-func
- "-q" "-l"
+ async-quiet-switch "-l"
;; Using `locate-library' ensure we use the right file
;; when the .elc have been deleted.
(locate-library "async")
diff --git a/dired-async.el b/dired-async.el
index a68098a..1d6d563 100644
--- a/dired-async.el
+++ b/dired-async.el
@@ -177,7 +177,9 @@ Should take same args as `message'."
See `dired-create-files' for the behavior of arguments."
(setq overwrite-query nil)
(let ((total (length fn-list))
- failures async-fn-list skipped callback)
+ failures async-fn-list skipped callback
+ ;; Fix tramp issue #80 with emacs-26
+ (async-quiet-switch "-q"))
(let (to)
(dolist (from fn-list)
(setq to (funcall name-constructor from))
- [elpa] externals/async a2196f7 03/60: Add `async-let' macro, (continued)
- [elpa] externals/async a2196f7 03/60: Add `async-let' macro, Stefan Monnier, 2019/10/08
- [elpa] externals/async 1dd865c 09/60: Add some documentation in README for async-let., Stefan Monnier, 2019/10/08
- [elpa] externals/async 57f5d81 06/60: Allow passing multiple forms to async-let, Stefan Monnier, 2019/10/08
- [elpa] externals/async 31b1691 02/60: Don't query in set-visited-file-name., Stefan Monnier, 2019/10/08
- [elpa] externals/async 8242878 08/60: Merge pull request #69 from jwiegley/async_let, Stefan Monnier, 2019/10/08
- [elpa] externals/async 2018523 15/60: Inject nsm-* vars in smtp-mail for emacs-25+ (#75)., Stefan Monnier, 2019/10/08
- [elpa] externals/async 666066d 14/60: Merge pull request #72 from jwiegley/Fix_async_ready, Stefan Monnier, 2019/10/08
- [elpa] externals/async 54977d6 10/60: Improve formatting in README., Stefan Monnier, 2019/10/08
- [elpa] externals/async e1a3735 20/60: Merge branch 'master' of github.com:jwiegley/emacs-async, Stefan Monnier, 2019/10/08
- [elpa] externals/async d6222c2 22/60: Ensure wdired-use-interactive-rename is disabled., Stefan Monnier, 2019/10/08
- [elpa] externals/async d422df5 24/60: Add new var to allow calling emacs with -Q or -q (#80).,
Stefan Monnier <=
- [elpa] externals/async c3b297f 27/60: Merge pull request #83 from darkfeline/lighter, Stefan Monnier, 2019/10/08
- [elpa] externals/async 4e894a2 16/60: Update README., Stefan Monnier, 2019/10/08
- [elpa] externals/async 324549b 36/60: Merge pull request #94 from astahlman/auto-select-coding, Stefan Monnier, 2019/10/08
- [elpa] externals/async d13c0bc 35/60: Choose coding system based on environment, Stefan Monnier, 2019/10/08
- [elpa] externals/async 890b38f 18/60: Add makefile., Stefan Monnier, 2019/10/08
- [elpa] externals/async afd1ad5 39/60: Allow removing text properties in strings when injecting, Stefan Monnier, 2019/10/08
- [elpa] externals/async 0a56cae 50/60: Update README, Stefan Monnier, 2019/10/08
- [elpa] externals/async b13baeb 47/60: Fix two issues in async-inject-variables, Stefan Monnier, 2019/10/08
- [elpa] externals/async 6fa6a86 49/60: Don't quote numbers as well, Stefan Monnier, 2019/10/08
- [elpa] externals/async caad15c 42/60: Bump to 1.9.3, Stefan Monnier, 2019/10/08