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

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

[elpa] externals/nano-modeline d53cc91e78 05/14: mark user-mode vars obs


From: ELPA Syncer
Subject: [elpa] externals/nano-modeline d53cc91e78 05/14: mark user-mode vars obsolete
Date: Thu, 6 Jan 2022 05:57:44 -0500 (EST)

branch: externals/nano-modeline
commit d53cc91e7826d697f73a1eaa68ef45ecda6404e4
Author: Hans Donner <hans@hansdonner.nl>
Commit: Hans Donner <hans@hansdonner.nl>

    mark user-mode vars obsolete
---
 nano-modeline.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nano-modeline.el b/nano-modeline.el
index a5a68e2015..daa8ba1821 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -267,11 +267,13 @@ 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")
 
 (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")
 
 (defun nano-modeline-truncate (str size &optional ellipsis)
   "If STR is longer than SIZE, truncate it and add ELLIPSIS."



reply via email to

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