]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
configure spell checker
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 15 Apr 2020 15:27:21 +0000 (17:27 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 15 Apr 2020 15:27:21 +0000 (17:27 +0200)
bba.org

diff --git a/bba.org b/bba.org
index 17636ec1c89d965182b7465578fcc0dd367054d7..7d7631adc3007d88f292c5a352e7c3a9458ea401 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -2968,6 +2968,12 @@ Watching [[https://www.youtube.com/watch?v%3DFtieBc3KptU][Emacs For Writers]] by
   (setq save-abbrevs 'silently)
 #+END_SRC
 
+#+begin_src emacs-lisp :tangle yes
+  (cond
+   ((executable-find "aspell")
+    (setq ispell-program-name "aspell")
+    (setq ispell-extra-args '("--sug-mode=ultra" "--lang=en_US"))))
+#+end_src
 
 Combine abbrev with Ispell: