branch: externals/nano-modeline commit edcbfe4ff86b6cf54063b5da273435322f93c352 Merge: 3bfc046 992acf6 Author: Nicolas P. Rougier <nicolas.roug...@inria.fr> Commit: Nicolas P. Rougier <nicolas.roug...@inria.fr>
Merge remote-tracking branch 'origin/master' --- nano-modeline.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nano-modeline.el b/nano-modeline.el index 66e8224..b4caadb 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