diff options
author | Case Duckworth | 2021-09-09 16:37:56 -0500 |
---|---|---|
committer | Case Duckworth | 2021-09-09 16:37:56 -0500 |
commit | ff2d92b6b45bca89b38caf4792a677ce2826278d (patch) | |
tree | 5e8d9513c2fb7e6680d5878dd411dfcda36d77ac | |
parent | Add kaomoji (diff) | |
download | emacs-ff2d92b6b45bca89b38caf4792a677ce2826278d.tar.gz emacs-ff2d92b6b45bca89b38caf4792a677ce2826278d.zip |
Remove `flymake-mode-except'
See like, 2 commits ago -_- I should learn rebase.
-rw-r--r-- | init.el | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/init.el b/init.el index c9f5fbf..f155f91 100644 --- a/init.el +++ b/init.el | |||
@@ -1569,14 +1569,7 @@ browser defined in `browse-url-secondary-browser-function'." | |||
1569 | 1569 | ||
1570 | (:hook show-paren-mode | 1570 | (:hook show-paren-mode |
1571 | electric-pair-local-mode | 1571 | electric-pair-local-mode |
1572 | acdw/setup-fringes | 1572 | acdw/setup-fringes |
1573 | |||
1574 | (defun flymake-mode-except () | ||
1575 | "Turn on flymake mode, except in some modes." | ||
1576 | (let ((no-flymake-modes '(emacs-lisp-mode))) | ||
1577 | (unless (or (member major-mode no-flymake-modes) | ||
1578 | (apply #'derived-mode-p no-flymake-modes)) | ||
1579 | (flymake-mode-on)))) | ||
1580 | 1573 | ||
1581 | (defun prog-mode@auto-fill () | 1574 | (defun prog-mode@auto-fill () |
1582 | (setq-local comment-auto-fill-only-comments t) | 1575 | (setq-local comment-auto-fill-only-comments t) |