[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/nano-modeline c5bf2a977f 2/2: Merge pull request #29 fr
From: |
ELPA Syncer |
Subject: |
[elpa] externals/nano-modeline c5bf2a977f 2/2: Merge pull request #29 from aaronjensen/obsolete-variable-usage |
Date: |
Thu, 6 Jan 2022 13:57:37 -0500 (EST) |
branch: externals/nano-modeline
commit c5bf2a977f1a06936ceb7a1805d1e2cf1f92f616
Merge: 0b7ea6efdb ef0abecc40
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: GitHub <noreply@github.com>
Merge pull request #29 from aaronjensen/obsolete-variable-usage
make-obsolete-variable usage is corrected for Emacs 29
---
nano-modeline.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nano-modeline.el b/nano-modeline.el
index 25c8eed6c7..7b1cdf30b6 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -289,13 +289,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")
+(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")
+(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."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/nano-modeline c5bf2a977f 2/2: Merge pull request #29 from aaronjensen/obsolete-variable-usage,
ELPA Syncer <=