Code style
This commit is contained in:
parent
89ea1f19f0
commit
cf0230f98c
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue