Emacs: Revert flycheck / whitespace message

Mode-line already shows whether they are on or off.
master
Pierre Neidhardt 2017-09-28 10:15:13 +01:00
parent 5e5a2ffcec
commit 4a2a8a8335
1 changed files with 1 additions and 2 deletions

View File

@ -7,8 +7,7 @@
(flyspell-mode)
(flycheck-mode 'toggle)
(if flyspell-mode (flyspell-mode 0) (flyspell-prog-mode)))
(whitespace-mode 'toggle)
(message "flyspell %s, flycheck %s, whitespace %s" flyspell-mode flycheck-mode whitespace-mode))
(whitespace-mode 'toggle))
(global-set-key (kbd "<f9>") 'flycheck-and-whitespace-mode)
(define-key flycheck-mode-map (kbd "C-c ! h") 'helm-flycheck)