summaryrefslogtreecommitdiff
path: root/lisp/textmodes/texinfo.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2017-12-12 09:11:17 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2017-12-12 09:11:17 -0500
commit489d6466372f488adc53897435fff290394b62f7 (patch)
tree1c58e54384e1c858a1225f96a2cc6e8f3b239f90 /lisp/textmodes/texinfo.el
parent8c5be9cbaabc02f7c78f2bafb68e2e4ab35e130f (diff)
downloademacs-489d6466372f488adc53897435fff290394b62f7.tar.gz
emacs-489d6466372f488adc53897435fff290394b62f7.tar.bz2
emacs-489d6466372f488adc53897435fff290394b62f7.zip
* lisp/subr.el (run-mode-hooks): Set parse-sexp-lookup-properties
if syntax-propertize-function is set (bug#24749). * lisp/progmodes/sh-script.el (sh-set-shell): * lisp/textmodes/texinfo.el (texinfo-mode): * lisp/textmodes/mhtml-mode.el (mhtml-mode): * lisp/progmodes/js.el (js-mode): Don't set parse-sexp-lookup-properties.
Diffstat (limited to 'lisp/textmodes/texinfo.el')
-rw-r--r--lisp/textmodes/texinfo.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index be8bcc55fec..8070132d203 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -610,7 +610,6 @@ value of `texinfo-mode-hook'."
(setq font-lock-defaults
'(texinfo-font-lock-keywords nil nil nil backward-paragraph))
(setq-local syntax-propertize-function texinfo-syntax-propertize-function)
- (setq-local parse-sexp-lookup-properties t)
(setq-local add-log-current-defun-function #'texinfo-current-defun-name)
;; Outline settings.