diff options
-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) |