diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2017-12-12 14:43:27 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2017-12-12 14:43:27 -0500 |
commit | da353e8b10ab60cf86f2f5fa2a87d52b3da8b592 (patch) | |
tree | eb3ad71ef676d4c784c1fc9683879e99d6fdaab7 /lisp | |
parent | 4590f1d768adbb2120a2b02c614f7ed3b21a4a3e (diff) | |
download | emacs-da353e8b10ab60cf86f2f5fa2a87d52b3da8b592.tar.gz emacs-da353e8b10ab60cf86f2f5fa2a87d52b3da8b592.tar.bz2 emacs-da353e8b10ab60cf86f2f5fa2a87d52b3da8b592.zip |
* lisp/subr.el (run-mode-hooks): Fix last change
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/subr.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 8468255ad2f..d6dceb79fa1 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -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 |