Browse Source

Add --lang=en_US extra arg

master
10sr 4 years ago
parent
commit
25efbc240c
Signed by: 10sr GPG Key ID: C384BB17CBB19347
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el View File

@@ -1759,7 +1759,8 @@ Otherwize hook it."
;; M-$ to ispell word
;; M-x flyspell-buffer to highlight all suspicious words
(when (executable-find "aspell")
(setq-default ispell-program-name "aspell"))
(set-variable 'ispell-program-name "aspell")
(set-variable 'ispell-extra-args '("--lang=en_US")))
(with-eval-after-load 'ispell
(add-to-list 'ispell-skip-region-alist '("[^\000-\377]+")))



Loading…
Cancel
Save