aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2025-09-13 22:23:12 +0300
committerEli Zaretskii2025-09-13 22:23:12 +0300
commit83b623ea3a5e9d7b8eea5112e4b8404eb1507f43 (patch)
tree85c629a4e7c4feabff950d5b94ce9501808ca200
parentfd5d35407abb784344c9bf4e0ae731c72df79d57 (diff)
downloademacs-83b623ea3a5e9d7b8eea5112e4b8404eb1507f43.tar.gz
emacs-83b623ea3a5e9d7b8eea5112e4b8404eb1507f43.zip
Fix 'define-globalized-minor-mode' when :variable is used
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix a typo (bug#79412).
-rw-r--r--lisp/emacs-lisp/easy-mmode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index ca921308877..a3ab5f18690 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -570,7 +570,7 @@ Disable the mode if ARG is a negative number.\n\n"
570 (dolist (buf (buffer-list)) 570 (dolist (buf (buffer-list))
571 (with-current-buffer buf 571 (with-current-buffer buf
572 (if ,global-mode (funcall ,turn-on-function) 572 (if ,global-mode (funcall ,turn-on-function)
573 (when ,mode (,mode -1))))) 573 (when ,MODE-variable (,mode -1)))))
574 ,@body) 574 ,@body)
575 575
576 ,(when predicate 576 ,(when predicate