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

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

[elpa] externals/nano-modeline 0e8539f 04/25: Updated EIN mode


From: ELPA Syncer
Subject: [elpa] externals/nano-modeline 0e8539f 04/25: Updated EIN mode
Date: Thu, 23 Dec 2021 12:57:29 -0500 (EST)

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

    Updated EIN mode
---
 nano-modeline.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/nano-modeline.el b/nano-modeline.el
index d37cab1..c8c9b54 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -260,10 +260,13 @@ Modeline is composed as:
 ;; ---------------------------------------------------------------------
 (defun nano-modeline-ein-notebook-mode ()
   (let ((buffer-name (format-mode-line "%b")))
-    (nano-modeline-compose (if (ein:notebook-modified-p) "**" "RW")
+    (nano-modeline-render "EIN"
                            buffer-name
                            ""
-                           (ein:header-line))))
+                           (ein:header-line)
+                           (if (ein:notebook-modified-p)
+                               'modified
+                             'read-write))))
 
 ;; ---------------------------------------------------------------------
 (defun nano-modeline-elfeed-search-mode-p ()



reply via email to

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