summaryrefslogtreecommitdiff
path: root/lisp/textmodes
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
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')
-rw-r--r--lisp/textmodes/mhtml-mode.el1
-rw-r--r--lisp/textmodes/texinfo.el1
2 files changed, 0 insertions, 2 deletions
diff --git a/lisp/textmodes/mhtml-mode.el b/lisp/textmodes/mhtml-mode.el
index 09da155f487..3e37edefb71 100644
--- a/lisp/textmodes/mhtml-mode.el
+++ b/lisp/textmodes/mhtml-mode.el
@@ -366,7 +366,6 @@ Code inside a <script> element is indented using the rules from
`js-mode'; and code inside a <style> element is indented using
the rules from `css-mode'."
(setq-local indent-line-function #'mhtml-indent-line)
- (setq-local parse-sexp-lookup-properties t)
(setq-local syntax-propertize-function #'mhtml-syntax-propertize)
(setq-local font-lock-fontify-region-function
#'mhtml--submode-fontify-region)
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.