mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Revert "Allow nil initializers in define-minor-mode"
This reverts commit 02cbb37de7.
This was mistakenly commited and doesn't really make much sense.
This commit is contained in:
parent
99600ee7b4
commit
32b9c7d06f
1 changed files with 1 additions and 3 deletions
|
|
@ -251,9 +251,7 @@ INIT-VALUE LIGHTER KEYMAP.
|
|||
(setq getter `(default-value ',mode))))
|
||||
(:extra-args (setq extra-args (pop body)))
|
||||
(:set (setq set (list :set (pop body))))
|
||||
(:initialize
|
||||
(when-let ((val (pop body)))
|
||||
(setq initialize (list :initialize val))))
|
||||
(:initialize (setq initialize (list :initialize (pop body))))
|
||||
(:type (setq type (list :type (pop body))))
|
||||
(:keymap (setq keymap (pop body)))
|
||||
(:interactive (setq interactive (pop body)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue