Code style

This commit is contained in:
Bozhidar Batsov 2013-03-28 17:22:33 +02:00
parent 89ea1f19f0
commit cf0230f98c

View file

@ -56,8 +56,7 @@
(defcustom prelude-clean-whitespace-on-save t (defcustom prelude-clean-whitespace-on-save t
"Cleanup whitespace from file before it's saved. Will only occur if prelude-whitespace is also enabled" "Cleanup whitespace from file before it's saved. Will only occur if prelude-whitespace is also enabled"
:type 'boolean :type 'boolean
:group 'prelude :group 'prelude)
)
(defcustom prelude-flyspell t (defcustom prelude-flyspell t
"Non-nil values enable Prelude's flyspell support." "Non-nil values enable Prelude's flyspell support."
@ -225,7 +224,8 @@
(flyspell-mode +1))) (flyspell-mode +1)))
(defun prelude-cleanup-maybe () (defun prelude-cleanup-maybe ()
(when prelude-clean-whitespace-on-save (whitespace-cleanup))) (when prelude-clean-whitespace-on-save
(whitespace-cleanup)))
(defun prelude-enable-whitespace () (defun prelude-enable-whitespace ()
(when prelude-whitespace (when prelude-whitespace