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

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

[elpa] externals/nano-modeline f4d7218 17/25: Updated doc view mode


From: ELPA Syncer
Subject: [elpa] externals/nano-modeline f4d7218 17/25: Updated doc view mode
Date: Thu, 23 Dec 2021 12:57:31 -0500 (EST)

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

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

diff --git a/nano-modeline.el b/nano-modeline.el
index aa453b4..7c561552 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -592,14 +592,10 @@ depending on the version of mu4e."
               (or (ignore-errors
                 (number-to-string (doc-view-last-page-number)))
               "???"))))
-    (nano-modeline-compose
-     (nano-modeline-status)
-     buffer-name
-     (concat "(" mode-name
-         (if branch (concat ", "
-                (propertize branch 'face 'italic)))
-         ")" )
-     page-number)))
+    (nano-modeline-render "DOC"
+                           buffer-name
+                           (if branch (concat "(" branch ")") "")
+                           page-number)))
 
 ;; ---------------------------------------------------------------------
 (defun nano-modeline-pdf-view-mode-p ()



reply via email to

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