branch: externals/calibre
commit 05a84d4f6cc2380f6d9fff463058cc3e1743d6ab
Author: Kjartan Oli Agustsson <[email protected]>
Commit: Kjartan Oli Agustsson <[email protected]>
Display in mode line when transferring books
* calibre-library.el (calibre-library-mode): Use mode-line-process to
display that a transfer is ongoing.
---
calibre-library.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/calibre-library.el b/calibre-library.el
index 1959a1a7b9..f262d7aac5 100644
--- a/calibre-library.el
+++ b/calibre-library.el
@@ -295,7 +295,8 @@ If called with a prefix argument prompt the user for the
format."
(define-derived-mode calibre-library-mode tabulated-list-mode
"Library Mode"
(setf tabulated-list-padding 2
- mode-line-process '(calibre-exec--executing ":Updating"))
+ mode-line-process '((calibre-exec--executing ":Updating")
+ (calibre-device--transferring ":Transferring")))
(setq-local revert-buffer-function #'calibre-library-revert)
(setq-local font-lock-defaults
'(calibre-font-lock-keywords t nil nil beginning-of-line))