diff options
-rw-r--r-- | emacs-init.el | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/emacs-init.el b/emacs-init.el index 1b09e70d..6c32129f 100644 --- a/emacs-init.el +++ b/emacs-init.el @@ -2,6 +2,11 @@ ;;; Commentary: ;;; Code: +;; Load settings set through Custom. +;; (setq custom-file (locate-user-emacs-file "custom.el")) +;; (when (file-readable-p custom-file) +;; (load custom-file)) + (defun tw/xdg-emacs-subdir (type name) "Get the name of a subdirectory called NAME under $XDG_<TYPE>_HOME/emacs." (expand-file-name @@ -49,10 +54,7 @@ (,(rx ".gnuplot" eos) . gnuplot-mode) (,(rx ".aurora" eos) . python-mode))) -;; Load settings set through Custom. -;; (setq custom-file (locate-user-emacs-file "custom.el")) -;; (when (file-readable-p custom-file) -;; (load custom-file)) +(add-hook 'mail-mode-hook #'auto-fill-mode) ;; `use-package' requirements. (require 'package) @@ -179,6 +181,9 @@ :hook company-mode :diminish company-posframe-mode) +(use-package flyspell + :hook mail-mode) + (use-package flymake :after (evil which-key) :hook prog-mode |