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:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user