[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6cb557e: * lisp/progmodes/js.el (js-mode): Remove second call to
From: |
Alan Mackenzie |
Subject: |
master 6cb557e: * lisp/progmodes/js.el (js-mode): Remove second call to c-init-language-vars |
Date: |
Sun, 7 Jun 2020 11:15:47 -0400 (EDT) |
branch: master
commit 6cb557e7a58d7f1c2e9afceeba45d0ced2aff214
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>
* 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.
---
lisp/progmodes/js.el | 1 -
1 file changed, 1 deletion(-)
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 5ec3e94..04b449e 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6cb557e: * lisp/progmodes/js.el (js-mode): Remove second call to c-init-language-vars,
Alan Mackenzie <=