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

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

[elpa] externals/nano-modeline 806254f415 3/3: Bumped version to 0.5.1


From: ELPA Syncer
Subject: [elpa] externals/nano-modeline 806254f415 3/3: Bumped version to 0.5.1
Date: Mon, 7 Mar 2022 09:57:42 -0500 (EST)

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

    Bumped version to 0.5.1
---
 nano-modeline.el | 21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

diff --git a/nano-modeline.el b/nano-modeline.el
index 75b8cd7e3a..0404e76da7 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -47,6 +47,10 @@
 ;;
 ;;; NEWS:
 ;;
+;; Version 0.5.1
+;; - Bug fix (make-obsolete-variable)
+;; - Added marker for dedicated window
+;;
 ;; Version 0.5
 ;; - Dynamic version that is now configurable thanks to the wonderful
 ;;   contribution of Hans Donner (@hans-d)
@@ -922,14 +926,14 @@ depending on the version of mu4e."
   (nano-modeline-default-mode))
 
 (defun nano-modeline-default-mode ()
-    (let ((buffer-name (format-mode-line "%b"))
-          (mode-name   (nano-modeline-mode-name))
-          (branch      (nano-modeline-vc-branch))
-          (position    (format-mode-line "%l:%c")))
-      (nano-modeline-render nil ;; (upcase  mode-name)
-                            buffer-name
-                            (if branch (concat "(" branch ")") "")
-                            position)))
+  (let ((buffer-name (format-mode-line "%b"))
+        (mode-name   (nano-modeline-mode-name))
+        (branch      (nano-modeline-vc-branch))
+        (position    (format-mode-line "%l:%c")))
+    (nano-modeline-render nil ;; (upcase  mode-name)
+                          buffer-name
+                          (if branch (concat "(" branch ")") "")
+                          position)))
 
 ;; ---------------------------------------------------------------------
 (defun nano-modeline-face-clear (face)
@@ -972,6 +976,7 @@ depending on the version of mu4e."
         (setq mode-line-format format)
         (setq-default mode-line-format format)))))
 
+
 (defun nano-modeline-update-windows ()
   "Hide the mode line depending on the presence of a window
 below or a buffer local variable 'no-mode-line'."



reply via email to

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