[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 51c598b 149/187: Add autoload cookie and make dired-async-
From: |
Michael Albinus |
Subject: |
[elpa] master 51c598b 149/187: Add autoload cookie and make dired-async--modeline-mode internal. |
Date: |
Wed, 30 Dec 2015 11:50:18 +0000 |
branch: master
commit 51c598b1a4184dbc3863e8081e2118b7e30b5e25
Author: Thierry Volpiatto <address@hidden>
Commit: Thierry Volpiatto <address@hidden>
Add autoload cookie and make dired-async--modeline-mode internal.
* dired-async.el (dired-async--modeline-mode): Renamed from
dired-async-modeline-mode
to notify the function is internal.
(dired-async-mode): add autoload cookie.
---
dired-async.el | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/dired-async.el b/dired-async.el
index 3f7d4d4..e1b9729 100644
--- a/dired-async.el
+++ b/dired-async.el
@@ -81,17 +81,17 @@ This allow to turn off async features provided to this
package."
(defface dired-async-mode-message
'((t (:background "Firebrick1")))
- "Face used for `dired-async-modeline-mode' lighter."
+ "Face used for `dired-async--modeline-mode' lighter."
:group 'dired-async)
-(define-minor-mode dired-async-modeline-mode
+(define-minor-mode dired-async--modeline-mode
"Notify mode-line that an async process run."
:group 'dired-async
:global t
:lighter (:eval (propertize (format " [%s Async job(s) running]"
(length (dired-async-processes)))
'face 'dired-async-mode-message))
- (unless dired-async-modeline-mode
+ (unless dired-async--modeline-mode
(let ((visible-bell t)) (ding))))
(defun dired-async-mode-line-message (text &rest args)
@@ -119,14 +119,14 @@ This allow to turn off async features provided to this
package."
(proc (car (last processes))))
(delete-process proc)
(unless (> (length processes) 1)
- (dired-async-modeline-mode -1))))
+ (dired-async--modeline-mode -1))))
(defun dired-async-after-file-create (len-flist)
"Callback function used for operation handled by `dired-create-file'."
(unless (dired-async-processes)
;; Turn off mode-line notification
;; only when last process end.
- (dired-async-modeline-mode -1))
+ (dired-async--modeline-mode -1))
(when dired-async-operation
(if (file-exists-p dired-async-log-file)
(progn
@@ -261,10 +261,11 @@ ESC or `q' to not overwrite any of the remaining files,
,(dired-async-maybe-kill-ftp))
callback)
;; Run mode-line notifications while process running.
- (dired-async-modeline-mode 1)
+ (dired-async--modeline-mode 1)
(setq dired-async-operation (list operation (length async-fn-list)))
(message "%s proceeding asynchronously..." operation))))
+;;;###autoload
(define-minor-mode dired-async-mode
"Do dired actions asynchronously."
:group 'helm
- [elpa] master 12235bd 156/187: * async-pkg.el: Update version number., (continued)
- [elpa] master 12235bd 156/187: * async-pkg.el: Update version number., Michael Albinus, 2015/12/30
- [elpa] master 2235bc9 135/187: Inject bytecomp variables (#44)., Michael Albinus, 2015/12/30
- [elpa] master c9fb3f5 147/187: async-bytecomp-allowed-packages should be a list of symbols., Michael Albinus, 2015/12/30
- [elpa] master 2b01ad8 137/187: Merge branch 'master' of github.com:jwiegley/emacs-async, Michael Albinus, 2015/12/30
- [elpa] master 98ef20d 162/187: Change mode-line face., Michael Albinus, 2015/12/30
- [elpa] master 2143217 159/187: Bind print-level and print-length (#48)., Michael Albinus, 2015/12/30
- [elpa] master 89f1ca6 133/187: Merge pull request #42 from mneilsen/master, Michael Albinus, 2015/12/30
- [elpa] master 1f5e89b 146/187: * async-bytecomp.el (package--compile): Fix typo., Michael Albinus, 2015/12/30
- [elpa] master 7625671 140/187: Async compile also dependendies (#46)., Michael Albinus, 2015/12/30
- [elpa] master d250e7b 139/187: Allow customizing which packages compile async (#46)., Michael Albinus, 2015/12/30
- [elpa] master 51c598b 149/187: Add autoload cookie and make dired-async--modeline-mode internal.,
Michael Albinus <=
- [elpa] master 23edf9e 151/187: * dired-async.el (dired-async-mode): Fix group name., Michael Albinus, 2015/12/30
- [elpa] master c368125 155/187: * async-bytecomp.el: Add autoload cookies., Michael Albinus, 2015/12/30
- [elpa] master bedfa96 152/187: * dired-async.el: Fix compatibility with emacs-24.3., Michael Albinus, 2015/12/30
- [elpa] master 753d593 148/187: Allow enabling dired-async with a minor-mode., Michael Albinus, 2015/12/30
- [elpa] master cdbf622 157/187: No message on startup when quiet., Michael Albinus, 2015/12/30
- [elpa] master 4ab15f7 161/187: Merge pull request #50 from tarsius/master, Michael Albinus, 2015/12/30
- [elpa] master a97aa4c 166/187: Don't call package-activate-1 in package--compile., Michael Albinus, 2015/12/30
- [elpa] master 7616e0c 165/187: Check if pkg is member of package-archive-contents (#51)., Michael Albinus, 2015/12/30
- [elpa] master ee727e1 168/187: Add async to load-path when recompiling itself., Michael Albinus, 2015/12/30
- [elpa] master 40814ea 173/187: Correct package headers, Michael Albinus, 2015/12/30