diff options
| author | Stefan Monnier | 2017-12-12 14:43:27 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2017-12-12 14:43:27 -0500 |
| commit | da353e8b10ab60cf86f2f5fa2a87d52b3da8b592 (patch) | |
| tree | eb3ad71ef676d4c784c1fc9683879e99d6fdaab7 | |
| parent | 4590f1d768adbb2120a2b02c614f7ed3b21a4a3e (diff) | |
| download | emacs-da353e8b10ab60cf86f2f5fa2a87d52b3da8b592.tar.gz emacs-da353e8b10ab60cf86f2f5fa2a87d52b3da8b592.zip | |
* lisp/subr.el (run-mode-hooks): Fix last change
| -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." | |||
| 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 |