summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 5282a0a4..c7b995fa 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -1028,7 +1028,11 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
             conf-mode-hook))
   :general ([remap ispell-word] #'jinx-correct-word
             [remap evil-prev-flyspell-error] #'jinx-previous
-            [remap evil-next-flyspell-error] #'jinx-next))
+            [remap evil-next-flyspell-error] #'jinx-next)
+  :config (progn
+            (advice-add 'jinx--load-dicts :after (lambda ()
+                                                   (unless jinx--dicts
+                                                     (global-jinx-mode -1))))))
 
 (use-package feature-mode
   :defer t