]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix bug#47925
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 20 Apr 2021 23:40:09 +0000 (19:40 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 20 Apr 2021 23:40:09 +0000 (19:40 -0400)
commit9e5290aecf6cafb422aa67ef891c90693c91fdbe
treeefd1f4dbf7922e0ec8df7076303233099544f840
parentc4c9a60c1397f01f749e4aa3da8b85ad0bab20b6
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix bug#47925

In order to correctly detect the case of the "new style" with an empty body,
remove the old optional arguments `init-value`, `lighter`, and `keymap`,
so we can distinguish the "nil arg" from the "absent arg" cases.
lisp/emacs-lisp/easy-mmode.el