* lisp/progmodes/js.el (js-mode): Don't eagerly syntax propertize.
This commit is contained in:
parent
2f5e809082
commit
9f31fb2a66
1 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue