diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2023-03-22 13:52:50 -0400 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-03-23 11:03:07 +0200 |
commit | 930b9fdd3ab9185e2faba8a08fbae81c82fa434a (patch) | |
tree | c1db510105b71c8b390c0dbfd429c6bf49d4fcde /lisp/emacs-lisp | |
parent | 19c95b141606282915ed6c1a3f2c42a6b7a4420b (diff) | |
download | emacs-930b9fdd3ab9185e2faba8a08fbae81c82fa434a.tar.gz |
Fix :predicate handling in globalized minor modes
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
Fix a thinko. (Bug#62376)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 5721470ad0d..e84207da2df 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -509,7 +509,7 @@ on if the hook has explicitly disabled it. (setq turn-on-function `(lambda () (require 'easy-mmode) - (when (easy-mmode--globalized-predicate-p ,(car predicate)) + (when (easy-mmode--globalized-predicate-p ,MODE-predicate) (funcall ,turn-on-function))))) (_ (push keyw extra-keywords) (push (pop body) extra-keywords)))) |