aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/subr.el2
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."
1877 ;; Normal case, just run the hook as before plus any delayed hooks. 1877 ;; Normal case, just run the hook as before plus any delayed hooks.
1878 (setq hooks (nconc (nreverse delayed-mode-hooks) hooks)) 1878 (setq hooks (nconc (nreverse delayed-mode-hooks) hooks))
1879 (and syntax-propertize-function 1879 (and syntax-propertize-function
1880 (not (buffer-local-p 'parse-sexp-lookup-properties)) 1880 (not (local-variable-p 'parse-sexp-lookup-properties))
1881 ;; `syntax-propertize' sets `parse-sexp-lookup-properties' for us, but 1881 ;; `syntax-propertize' sets `parse-sexp-lookup-properties' for us, but
1882 ;; in order for the sexp primitives to automatically call 1882 ;; in order for the sexp primitives to automatically call
1883 ;; `syntax-propertize' we need `parse-sexp-lookup-properties' to be 1883 ;; `syntax-propertize' we need `parse-sexp-lookup-properties' to be