1
Fork 0
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:
Lars Ingebrigtsen 2021-07-31 13:37:42 +02:00
parent 99600ee7b4
commit 32b9c7d06f

View file

@ -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)))