mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 19:07:34 +00:00
Make js-mode's syntax highlighting work again
* lisp/progmodes/js.el (js-mode): Fix the assigned font-lock-defaults value (bug#23603).
This commit is contained in:
parent
850bcb1e58
commit
8af79702fc
1 changed files with 1 additions and 1 deletions
|
|
@ -3723,7 +3723,7 @@ If one hasn't been set, or if it's stale, prompt for a new one."
|
|||
(setq-local beginning-of-defun-function #'js-beginning-of-defun)
|
||||
(setq-local end-of-defun-function #'js-end-of-defun)
|
||||
(setq-local open-paren-in-column-0-is-defun-start nil)
|
||||
(setq-local font-lock-defaults '(js--font-lock-keywords))
|
||||
(setq-local font-lock-defaults (list js--font-lock-keywords))
|
||||
(setq-local syntax-propertize-function #'js-syntax-propertize)
|
||||
(setq-local prettify-symbols-alist js--prettify-symbols-alist)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue