]> git.eshelyaron.com Git - emacs.git/commit
Allow a :variable keyword in define-globalized-minor-mode
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Feb 2021 14:22:40 +0000 (15:22 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Feb 2021 14:22:40 +0000 (15:22 +0100)
commite1d54bb638dfb017acb778a45092f97bb0d3427c
tree8c6f1c69188826ef7385f8da840bb19673e7f114
parentbd795dd659d6f67077f1870bbb775df15ce6001b
Allow a :variable keyword in define-globalized-minor-mode

* doc/lispref/modes.texi (Defining Minor Modes): Document it.
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
Allow specifying a :variable to be used if the underlying mode has
a divergent variable to store the state (bug#29081).
doc/lispref/modes.texi
lisp/emacs-lisp/easy-mmode.el