summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index fa303cc..eaec53b 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -925,6 +925,10 @@ BEG and END define the region."
:custom
(ispell-personal-dictionary "/home/tmu/.aspell.en.pws")
:config
+ (defun ispell-mode (&optional arg)
+ "Make some old packages work with modern ispell."
+ (interactive)
+ (ispell-minor-mode arg))
(advice-add 'ispell-mode :before 'debug)
(setq-default text-mode-hook (cons 'ispell-minor-mode (remove 'ispell-mode text-mode-hook))))