Don't set scss-compile-at-save in the mode hook

This commit is contained in:
Bozhidar Batsov 2014-09-18 18:07:25 +03:00
parent 5bc3ceb6d1
commit cd29262c36

View file

@ -35,10 +35,11 @@
(require 'prelude-css) (require 'prelude-css)
(prelude-require-packages '(scss-mode)) (prelude-require-packages '(scss-mode))
(defun prelude-scss-mode-defaults ()
(prelude-css-mode-defaults)
;; turn off annoying auto-compile on save ;; turn off annoying auto-compile on save
(setq scss-compile-at-save nil)) (setq scss-compile-at-save nil)
(defun prelude-scss-mode-defaults ()
(prelude-css-mode-defaults))
(setq prelude-scss-mode-hook 'prelude-scss-mode-defaults) (setq prelude-scss-mode-hook 'prelude-scss-mode-defaults)