[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/macrostep 2d0091bf8f 02/10: Avoid positional arguments to
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/macrostep 2d0091bf8f 02/10: Avoid positional arguments to define-minor-mode |
Date: |
Wed, 26 Oct 2022 09:59:21 -0400 (EDT) |
branch: elpa/macrostep
commit 2d0091bf8f6512ab49c8258bce934764883af40d
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Avoid positional arguments to define-minor-mode
Back in Emacs-21.1, `define-minor-mode' grew keyword arguments to
replace its old positional arguments. Starting with Emacs-28.1
a warning will be omitted if positional arguments are still used.
For backward compatibility one keyword argument has to be provided
if a function body is provided (as otherwise the non-keyword value
argument and the body could not be told apart).
---
macrostep.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/macrostep.el b/macrostep.el
index b69184e11a..ab186757f2 100644
--- a/macrostep.el
+++ b/macrostep.el
@@ -501,7 +501,8 @@ Use \\[macrostep-collapse-all] or collapse all visible
expansions to
quit and return to normal editing.
\\{macrostep-keymap}"
- nil " Macro-Stepper"
+ :init-value nil
+ :lighter " Macro-Stepper"
:keymap macrostep-keymap
:group macrostep
(if macrostep-mode
- [nongnu] elpa/macrostep updated (424e3734a1 -> 75ecd04121), ELPA Syncer, 2022/10/26
- [nongnu] elpa/macrostep 2d0091bf8f 02/10: Avoid positional arguments to define-minor-mode,
ELPA Syncer <=
- [nongnu] elpa/macrostep 290e412b33 03/10: Remove stray declare form, ELPA Syncer, 2022/10/26
- [nongnu] elpa/macrostep 049282be8b 04/10: Shorten first lines of two docstrings, ELPA Syncer, 2022/10/26
- [nongnu] elpa/macrostep b430ea850b 08/10: Add .elpaignore, ELPA Syncer, 2022/10/26
- [nongnu] elpa/macrostep 22c10f970f 09/10: Delete bundled cl-lib.el and ert.el, ELPA Syncer, 2022/10/26
- [nongnu] elpa/macrostep abed4cb0d2 01/10: Continue to extend macrostep-expansion-highlight-face to window edge, ELPA Syncer, 2022/10/26
- [nongnu] elpa/macrostep 4c3c260964 05/10: Update library headers, ELPA Syncer, 2022/10/26
- [nongnu] elpa/macrostep 400c483bb1 06/10: Add LICENSE, ELPA Syncer, 2022/10/26
- [nongnu] elpa/macrostep 1596a7c261 07/10: Checkdoc fixes, ELPA Syncer, 2022/10/26
- [nongnu] elpa/macrostep 75ecd04121 10/10: Require ert and cl-lib unconditionally, ELPA Syncer, 2022/10/26