Remove `flymake-mode-except'
See like, 2 commits ago -_- I should learn rebase.
This commit is contained in:
parent
bec16ae679
commit
ff2d92b6b4
7
init.el
7
init.el
|
@ -1571,13 +1571,6 @@ browser defined in `browse-url-secondary-browser-function'."
|
|||
electric-pair-local-mode
|
||||
acdw/setup-fringes
|
||||
|
||||
(defun flymake-mode-except ()
|
||||
"Turn on flymake mode, except in some modes."
|
||||
(let ((no-flymake-modes '(emacs-lisp-mode)))
|
||||
(unless (or (member major-mode no-flymake-modes)
|
||||
(apply #'derived-mode-p no-flymake-modes))
|
||||
(flymake-mode-on))))
|
||||
|
||||
(defun prog-mode@auto-fill ()
|
||||
(setq-local comment-auto-fill-only-comments t)
|
||||
(turn-on-auto-fill)))
|
||||
|
|
Loading…
Reference in New Issue