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

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

[elpa] externals/nano-modeline b572986 09/24: Fixed modeline display in


From: ELPA Syncer
Subject: [elpa] externals/nano-modeline b572986 09/24: Fixed modeline display in HTML files in web-mode
Date: Wed, 6 Oct 2021 17:57:34 -0400 (EDT)

branch: externals/nano-modeline
commit b5729862a4edfe534bf66655717e34b4c42ff7de
Author: vllur <veller950@gmail.com>
Commit: GitHub <noreply@github.com>

    Fixed modeline display in HTML files in web-mode
---
 nano-modeline.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nano-modeline.el b/nano-modeline.el
index 832b88d..dcdad031 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -132,7 +132,7 @@ Modeline is composed as:
                                  (+ (if (eq backend 'Hg) 2 3) 2))))  nil))
 
 (defun nano-mode-name ()
-  (if (listp mode-name) (car mode-name) mode-name))
+  (format-mode-line mode-name))
 
 
 ;; From https://amitp.blogspot.com/2011/08/emacs-custom-mode-line.html



reply via email to

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