emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/calibre 512b5a1197 02/10: Add mode line indicator when


From: ELPA Syncer
Subject: [elpa] externals/calibre 512b5a1197 02/10: Add mode line indicator when updating library
Date: Thu, 18 May 2023 12:57:31 -0400 (EDT)

branch: externals/calibre
commit 512b5a11979ae406832986e51c1c1bb9d4721d77
Author: Kjartan Óli Ágústsson <kjartanoli@disroot.org>
Commit: Kjartan Óli Ágústsson <kjartanoli@disroot.org>

    Add mode line indicator when updating library
    
    * calibre-library.el (calibre-library-mode): Set mode-line-process.
---
 calibre-library.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/calibre-library.el b/calibre-library.el
index 30f0f56bf9..06cf0f9db1 100644
--- a/calibre-library.el
+++ b/calibre-library.el
@@ -134,7 +134,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)
+  (setf tabulated-list-padding 2
+        mode-line-process '(calibre-exec--commands ":Updating"))
   (setq-local revert-buffer-function #'calibre-library-revert)
   (setq-local font-lock-defaults
               '(calibre-font-lock-keywords t nil nil beginning-of-line))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]