diff options
-rw-r--r-- | emacs/.emacs.d/init.org | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 44b0a3c..bd7ee3f 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -2138,6 +2138,13 @@ I derived a mode for twig, in order to use its =mode-hook=. ispell-really-hunspell t))))) #+END_SRC +#+BEGIN_SRC emacs-lisp +(use-package flyspell + :config (progn + (add-hook 'text-mode-hook (lambda () (flyspell-mode +1))) + (add-hook 'prog-mode-hook (lambda () (flyspell-prog-mode +1))))) +#+END_SRC + * Scripting Make a shell-script buffer executable after saving it, if it has a shebang. |