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

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

[elpa] externals/nano-modeline febe3d4 11/25: Updated pdf view mode


From: ELPA Syncer
Subject: [elpa] externals/nano-modeline febe3d4 11/25: Updated pdf view mode
Date: Thu, 23 Dec 2021 12:57:30 -0500 (EST)

branch: externals/nano-modeline
commit febe3d4c12c7e0582b314e0a40ccde35ff44552d
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>

    Updated pdf view mode
---
 nano-modeline.el | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/nano-modeline.el b/nano-modeline.el
index 8f392da..2d4ae32 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -615,14 +615,10 @@ depending on the version of mu4e."
               (or (ignore-errors
                 (number-to-string (pdf-cache-number-of-pages)))
               "???"))))
-    (nano-modeline-compose
-     "RW"
-     buffer-name
-     (concat "(" mode-name
-         (if branch (concat ", "
-                (propertize branch 'face 'italic)))
-         ")" )
-     page-number)))
+    (nano-modeline-render "PDF"
+                          buffer-name
+                          (if branch (concat "(" branch ")") "")
+                          page-number)))
 
 ;; ---------------------------------------------------------------------
 (defun nano-modeline-buffer-menu-mode-p ()



reply via email to

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