Merge pull request #698 from toctan/js-electric-layout-fix

Remove curly braces from js electric-layout-rules
This commit is contained in:
Bozhidar Batsov 2014-09-26 08:02:23 +03:00
commit 14e92d94b4

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)