mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Fix 'define-globalized-minor-mode' when :variable is used
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix a typo (bug#79412).
This commit is contained in:
parent
fd5d35407a
commit
83b623ea3a
1 changed files with 1 additions and 1 deletions
|
|
@ -570,7 +570,7 @@ Disable the mode if ARG is a negative number.\n\n"
|
|||
(dolist (buf (buffer-list))
|
||||
(with-current-buffer buf
|
||||
(if ,global-mode (funcall ,turn-on-function)
|
||||
(when ,mode (,mode -1)))))
|
||||
(when ,MODE-variable (,mode -1)))))
|
||||
,@body)
|
||||
|
||||
,(when predicate
|
||||
|
|
|
|||
Loading…
Reference in a new issue