[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master da353e8: * lisp/subr.el (run-mode-hooks): Fix last
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master da353e8: * lisp/subr.el (run-mode-hooks): Fix last change |
Date: |
Tue, 12 Dec 2017 14:43:56 -0500 (EST) |
branch: master
commit da353e8b10ab60cf86f2f5fa2a87d52b3da8b592
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* lisp/subr.el (run-mode-hooks): Fix last change
---
lisp/subr.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/subr.el b/lisp/subr.el
index 8468255..d6dceb7 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master da353e8: * lisp/subr.el (run-mode-hooks): Fix last change,
Stefan Monnier <=