diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2015-08-21 09:03:52 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2015-08-21 09:03:52 -0400 |
commit | 9f31fb2a660a26ba510568fae102afc68db8f385 (patch) | |
tree | 543d358f4981d7b947e1f7e98eecd2fc822085b0 /lisp | |
parent | 2f5e8090824d7d1ca8894c12a1e51e2ad340c012 (diff) | |
download | emacs-9f31fb2a660a26ba510568fae102afc68db8f385.tar.gz |
* lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/js.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 40a4a1080b5..98a22dd8441 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -3560,9 +3560,10 @@ If one hasn't been set, or if it's stale, prompt for a new one." ;; the buffer containing the problem, JIT-lock will apply the ;; correct syntax to the regular expression literal and the problem ;; will mysteriously disappear. - ;; FIXME: We should actually do this fontification lazily by adding + ;; FIXME: We should instead do this fontification lazily by adding ;; calls to syntax-propertize wherever it's really needed. - (syntax-propertize (point-max))) + ;;(syntax-propertize (point-max)) + ) ;;;###autoload (defalias 'javascript-mode 'js-mode) |