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

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

[elpa] externals/nano-modeline 992acf6 10/24: Merge pull request #2 from


From: ELPA Syncer
Subject: [elpa] externals/nano-modeline 992acf6 10/24: Merge pull request #2 from vllur/patch-1
Date: Wed, 6 Oct 2021 17:57:34 -0400 (EDT)

branch: externals/nano-modeline
commit 992acf6aaf1eb691f4959b256872e32040a3409d
Merge: 5036cd2 b572986
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: GitHub <noreply@github.com>

    Merge pull request #2 from vllur/patch-1
    
    Fix 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]