diff options
| author | Alan Mackenzie | 2020-06-07 15:14:15 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2020-06-07 15:14:15 +0000 |
| commit | 6cb557e7a58d7f1c2e9afceeba45d0ced2aff214 (patch) | |
| tree | 47fab0f0d606518b48c7db2266e7d03210bbd9a3 | |
| parent | a6b0e7202d5ea747d99731e1228badcead80eee6 (diff) | |
| download | emacs-6cb557e7a58d7f1c2e9afceeba45d0ced2aff214.tar.gz emacs-6cb557e7a58d7f1c2e9afceeba45d0ced2aff214.zip | |
* 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.
| -rw-r--r-- | lisp/progmodes/js.el | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 5ec3e942753..04b449ecd2c 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'." | |||
| 4591 | (setq imenu-create-index-function #'js--imenu-create-index) | 4591 | (setq imenu-create-index-function #'js--imenu-create-index) |
| 4592 | 4592 | ||
| 4593 | ;; for filling, pretend we're cc-mode | 4593 | ;; for filling, pretend we're cc-mode |
| 4594 | (c-init-language-vars js-mode) | ||
| 4595 | (setq-local comment-line-break-function #'c-indent-new-comment-line) | 4594 | (setq-local comment-line-break-function #'c-indent-new-comment-line) |
| 4596 | (setq-local comment-multi-line t) | 4595 | (setq-local comment-multi-line t) |
| 4597 | (setq-local electric-indent-chars | 4596 | (setq-local electric-indent-chars |