[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/async 953a614 26/60: Add mode line lighter for dired-as
From: |
Stefan Monnier |
Subject: |
[elpa] externals/async 953a614 26/60: Add mode line lighter for dired-async-mode |
Date: |
Tue, 8 Oct 2019 10:11:31 -0400 (EDT) |
branch: externals/async
commit 953a614ea769c62b9d2492b233dd7298adc63137
Author: Allen Li <address@hidden>
Commit: Allen Li <address@hidden>
Add mode line lighter for dired-async-mode
---
dired-async.el | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/dired-async.el b/dired-async.el
index a97a9a3..b592cac 100644
--- a/dired-async.el
+++ b/dired-async.el
@@ -66,6 +66,14 @@ Should take same args as `message'."
:group 'dired-async
:type 'string)
+(defcustom dired-async-mode-lighter '(:eval
+ (when (eq major-mode 'dired-mode)
+ " Async"))
+ "Mode line lighter used for `dired-async-mode'."
+ :group 'dired-async
+ :risky t
+ :type 'sexp)
+
(defface dired-async-message
'((t (:foreground "yellow")))
"Face used for mode-line message."
@@ -337,8 +345,9 @@ ESC or `q' to not overwrite any of the remaining files,
;;;###autoload
(define-minor-mode dired-async-mode
- "Do dired actions asynchronously."
+ "Do dired actions asynchronously."
:group 'dired-async
+ :lighter dired-async-mode-lighter
:global t
(if dired-async-mode
(if (fboundp 'advice-add)
- [elpa] externals/async 87853ae 29/60: Allow backing up in same directory, (continued)
- [elpa] externals/async 87853ae 29/60: Allow backing up in same directory, Stefan Monnier, 2019/10/08
- [elpa] externals/async 424ecd8 32/60: Fix compilation warning, Stefan Monnier, 2019/10/08
- [elpa] externals/async 15bcbf6 37/60: Use user-emacs-directory (#95), Stefan Monnier, 2019/10/08
- [elpa] externals/async 0b545da 53/60: Only revert dired buffers if not remote, Stefan Monnier, 2019/10/08
- [elpa] externals/async d0a29f1 46/60: Copy source files when installing, Stefan Monnier, 2019/10/08
- [elpa] externals/async ec374ca 57/60: Use consp instead of listp, Stefan Monnier, 2019/10/08
- [elpa] externals/async e5f8a7f 56/60: Merge branch 'master' of github.com:jwiegley/emacs-async, Stefan Monnier, 2019/10/08
- [elpa] externals/async e22e612 11/60: Fix and clarify async-ready, async-get and async-wait (#71)., Stefan Monnier, 2019/10/08
- [elpa] externals/async d395e92 25/60: Use only -q flag when needed, Stefan Monnier, 2019/10/08
- [elpa] externals/async 09a177c 21/60: Update README., Stefan Monnier, 2019/10/08
- [elpa] externals/async 953a614 26/60: Add mode line lighter for dired-async-mode,
Stefan Monnier <=
- [elpa] externals/async 868d927 33/60: Add .gitignore, Stefan Monnier, 2019/10/08
- [elpa] externals/async 7fa23eb 44/60: Update dired-buffers when operation ends (#99), Stefan Monnier, 2019/10/08
- [elpa] externals/async efe6bda 45/60: Check if dired buffer is alive before reverting (#99), Stefan Monnier, 2019/10/08
- [elpa] externals/async c9bd058 48/60: DRY in async-inject-variables, Stefan Monnier, 2019/10/08
- [elpa] externals/async 5863eef 28/60: Copy the autoload file when installing, Stefan Monnier, 2019/10/08
- [elpa] externals/async dea9627 31/60: Merge pull request #87 from darkfeline/async, Stefan Monnier, 2019/10/08
- [elpa] externals/async 8bb64e3 41/60: Require cl-lib., Stefan Monnier, 2019/10/08
- [elpa] externals/async 7279cc6 38/60: Remove autoload file as well when uninstalling, Stefan Monnier, 2019/10/08
- [elpa] externals/async afe10c4 30/60: Add one-shot dired-async commands, Stefan Monnier, 2019/10/08
- [elpa] externals/async 4d3b737 52/60: Fix error from reverting to nonexistent directories, Stefan Monnier, 2019/10/08