Skip to content

Commit 9f31fb2

Browse files
committed
* lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
1 parent 2f5e809 commit 9f31fb2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lisp/progmodes/js.el

+3-2
Original file line numberDiff line numberDiff line change
@@ -3560,9 +3560,10 @@ If one hasn't been set, or if it's stale, prompt for a new one."
35603560
;; the buffer containing the problem, JIT-lock will apply the
35613561
;; correct syntax to the regular expression literal and the problem
35623562
;; will mysteriously disappear.
3563-
;; FIXME: We should actually do this fontification lazily by adding
3563+
;; FIXME: We should instead do this fontification lazily by adding
35643564
;; calls to syntax-propertize wherever it's really needed.
3565-
(syntax-propertize (point-max)))
3565+
;;(syntax-propertize (point-max))
3566+
)
35663567

35673568
;;;###autoload (defalias 'javascript-mode 'js-mode)
35683569

0 commit comments

Comments
 (0)