From 9abfdd047d60f8762e19d1f6dc905b02866de771 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 20 Apr 2023 11:00:35 +0200 Subject: emacs: replace wucuo with jinx --- user/emacs/init.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'user/emacs') diff --git a/user/emacs/init.el b/user/emacs/init.el index 01cd750f..ee6d43cc 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -1006,13 +1006,13 @@ _p_rev _u_pper _=_: upper/lower _r_esolve :after flyspell-correct :init (progn (setq flyspell-correct-interface #'flyspell-correct-avy-menu))) -(use-package wucuo - :ghook ('(prog-mode-hook - text-mode-hook) - #'wucuo-start) + +(use-package jinx + :ghook ('emacs-startup-hook #'global-jinx-mode) + :general ([remap ispell-word] #'jinx-correct) :config (progn - (setq wucuo-aspell-language-to-use "en_GB-ise-w_accents" - wucuo-enable-camel-case-algorithm-p nil))) + (load-library "jinx-mod.so") + (setq jinx-languages "en_GB en de_DE"))) (use-package feature-mode :config (progn -- cgit 1.4.1