mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/subr.el (run-mode-hooks): Fix last change
This commit is contained in:
parent
4590f1d768
commit
da353e8b10
1 changed files with 1 additions and 1 deletions
|
|
@ -1877,7 +1877,7 @@ running their FOO-mode-hook."
|
|||
;; Normal case, just run the hook as before plus any delayed hooks.
|
||||
(setq hooks (nconc (nreverse delayed-mode-hooks) hooks))
|
||||
(and syntax-propertize-function
|
||||
(not (buffer-local-p 'parse-sexp-lookup-properties))
|
||||
(not (local-variable-p 'parse-sexp-lookup-properties))
|
||||
;; `syntax-propertize' sets `parse-sexp-lookup-properties' for us, but
|
||||
;; in order for the sexp primitives to automatically call
|
||||
;; `syntax-propertize' we need `parse-sexp-lookup-properties' to be
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue