all repos — nixfiles @ 2d8104c4f4a035744ce609e478f8037cdaa9f196

System and user configuration, managed by nix and home-manager

Emacs: remove jinx and use flyspell instead
Alan Pearce alan@alanpearce.eu
Fri, 17 Nov 2023 19:36:51 +0100
commit

2d8104c4f4a035744ce609e478f8037cdaa9f196

parent

4cce75f31bd17f9d86a91264f38829c51eee80da

2 files changed, 3 insertions(+), 6 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -1019,11 +1019,9 @@ (setq-default ispell-dictionary "en_GB-ise-w_accents")
 (setq ispell-extra-args '("--sug-mode=ultra" "--camel-case"))
 
-(use-package jinx
-  :ghook ('emacs-startup-hook #'global-jinx-mode)
-  :general ([remap ispell-word] #'jinx-correct)
-  :config (progn
-            (setq jinx-languages "en_GB en de_DE")))
+(use-package flyspell
+  :ghook ('prog-mode-hook #'flyspell-prog-mode)
+  :ghook ('text-mode-hook #'flyspell-mode))
 
 (use-package feature-mode
   :defer t
M user/settings/emacs.nixuser/settings/emacs.nix
@@ -119,7 +119,6 @@ git-timemachine         goto-chg
         helpful
         ibuffer-project
-        jinx
         just-mode
         justl
         json-mode