]> git.eshelyaron.com Git - emacs.git/commit
Add a new variable `global-minor-modes'
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 15 Feb 2021 12:08:15 +0000 (13:08 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 15 Feb 2021 12:08:21 +0000 (13:08 +0100)
commitb535c8ba8735409b43ec9b1ce99a966cfa1383b1
tree94fae987664b71a00ed74ebe3b32f90a4d554da3
parent0bd846c17474b161b11fbe21545609cd545b1798
Add a new variable `global-minor-modes'

* doc/lispref/modes.texi (Minor Modes): Document it.
* lisp/simple.el (global-minor-modes): New variable.
(completion-in-mode-p): Use it.
(completion-with-modes-p): Use it.

* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Support it.
doc/lispref/modes.texi
etc/NEWS
lisp/emacs-lisp/easy-mmode.el
lisp/simple.el