1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 03:52:16 -08:00
emacs/doc
Lars Ingebrigtsen b13356487f Add new helper macros for minor modes to restore variables
* doc/lispref/modes.texi (Defining Minor Modes): Document it.

* lisp/emacs-lisp/easy-mmode.el (buffer-local-set-state): New macro.
(buffer-local-set-state--get): Helper function.
(buffer-local-restore-state): New function.

* lisp/textmodes/word-wrap-mode.el (word-wrap-whitespace-mode):
Use it to simplify code.
2022-05-06 13:10:45 +02:00
..
emacs * doc/emacs/misc.texi (Interactive Shell): Fix paren typo. 2022-05-05 07:57:21 -07:00
lispintro Change current-time back to list form 2022-04-28 12:54:06 -07:00
lispref Add new helper macros for minor modes to restore variables 2022-05-06 13:10:45 +02:00
man Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
misc ; * doc/misc/eshell.texi (Arguments): Fix cross-references. 2022-05-03 19:38:06 +03:00