]> git.eshelyaron.com Git - emacs.git/commit
Add a new buffer-local variable `minor-modes'
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 14 Feb 2021 11:37:44 +0000 (12:37 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 14 Feb 2021 11:37:44 +0000 (12:37 +0100)
commit760910f4917ad8ff5e1cd1bf0bfec443b02f0e44
treee917992524075eba732a2bc7ae21789b9ab9b570
parent103039b06c2c9a917fc796d2a4afda8433e37473
Add a new buffer-local variable `minor-modes'

* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Keep
`minor-modes' updated.
* src/buffer.c (bset_minor_modes, Fmake_indirect_buffer)
(reset_buffer, init_buffer_once): Initialise `minor-modes'.
(syms_of_buffer): Add `minor-modes' as a new permanently-local
variable.

* src/buffer.h (struct buffer): Add minor_modes_.
doc/lispref/modes.texi
etc/NEWS
lisp/emacs-lisp/easy-mmode.el
src/buffer.c
src/buffer.h