remove curly braces from js electric-layout-rules

fix #694
This commit is contained in:
toctan 2014-09-26 10:28:07 +08:00
parent 764cf775d6
commit 0da2bd461c

View file

@ -37,8 +37,8 @@
(eval-after-load 'js-mode
'(progn
(defun prelude-js-mode-defaults ()
;; electric-layout-mode doesn't play nice with js-mode
(electric-layout-mode -1))
;; electric-layout-mode doesn't play nice with smartparens
(setq-local electric-layout-rules '((?\; . after))))
(setq prelude-js-mode-hook 'prelude-js-mode-defaults)