diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-10-01 16:45:24 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-10-01 16:45:24 +0200 |
commit | bc95fc78bbf9c91ce5c3adb7d199c84c0c5032ca (patch) | |
tree | c1aed75ee2cd25d183a3fae7dc6328ba4bbc9c54 /lisp/emacs-lisp | |
parent | 28b7dd4ee4bb0c9d93435b88fed30fa20c317031 (diff) | |
download | emacs-bc95fc78bbf9c91ce5c3adb7d199c84c0c5032ca.tar.gz emacs-bc95fc78bbf9c91ce5c3adb7d199c84c0c5032ca.tar.bz2 emacs-bc95fc78bbf9c91ce5c3adb7d199c84c0c5032ca.zip |
Make the help page mention the customizeable global mode variable
* lisp/help-fns.el (help-fns--customize-variable): Factor out into
own function for reuse.
(help-fns--globalized-minor-mode): Use it to mention the
equivalent variable.
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
Mark globalized minor modes as such (bug#7177).
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index bbc3a27504c..5e7b29eddf8 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -418,6 +418,7 @@ on if the hook has explicitly disabled it. `(progn (progn + (put ',global-mode 'globalized-minor-mode t) :autoload-end (defvar ,MODE-major-mode nil) (make-variable-buffer-local ',MODE-major-mode)) |