[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/nano-modeline 5017b6870e 1/4: Cosmetic changes
From: |
ELPA Syncer |
Subject: |
[elpa] externals/nano-modeline 5017b6870e 1/4: Cosmetic changes |
Date: |
Tue, 29 Mar 2022 12:57:43 -0400 (EDT) |
branch: externals/nano-modeline
commit 5017b6870e99be12745a80ea781278aeb038c7e4
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Cosmetic changes
---
nano-modeline.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/nano-modeline.el b/nano-modeline.el
index 0404e76da7..c8413aba12 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -293,13 +293,15 @@ KEY mode name, for reference only. Easier to do lookups
and/or replacements.
"User supplied mode to be evaluated for modeline."
:type '(choice (const nil) function)
:group 'nano-modeline)
-(make-obsolete-variable nano-modeline-user-mode "Add to
`nano-modeline-mode-formats' instead" "0.5")
+(make-obsolete-variable nano-modeline-user-mode
+ "Add to `nano-modeline-mode-formats' instead" "0.5")
(defcustom nano-modeline-user-mode-p nil
"Function to indicate whether the user supplied mode should be used instead
f the default one. This function will be dynamically called and can return t or
nil depending on some user conditions. If the provied function always return t,
this fully overrides the nano-modeline."
:type '(choice (const nil) function)
:group 'nano-modeline)
-(make-obsolete-variable nano-modeline-user-mode-p "Add to
`nano-modeline-mode-formats' instead" "0.5")
+(make-obsolete-variable nano-modeline-user-mode-p
+ "Add to `nano-modeline-mode-formats' instead" "0.5")
(defun nano-modeline-truncate (str size &optional ellipsis)
"If STR is longer than SIZE, truncate it and add ELLIPSIS."