Fix :predicate handling in globalized minor modes
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix a thinko. (Bug#62376)
This commit is contained in:
committed by
Eli Zaretskii
parent
19c95b1416
commit
930b9fdd3a
@@ -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))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user