1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

* lisp/progmodes/js.el (js-mode): Remove second call to c-init-language-vars

This spurious second call fouled up already set configuration variables.
Fixes bug #41649.
This commit is contained in:
Alan Mackenzie 2020-06-07 15:14:15 +00:00
parent a6b0e7202d
commit 6cb557e7a5

View file

@ -4591,7 +4591,6 @@ This function is intended for use in `after-change-functions'."
(setq imenu-create-index-function #'js--imenu-create-index)
;; for filling, pretend we're cc-mode
(c-init-language-vars js-mode)
(setq-local comment-line-break-function #'c-indent-new-comment-line)
(setq-local comment-multi-line t)
(setq-local electric-indent-chars