瀏覽代碼

Add --lang=en_US extra arg

master
10sr 4 年之前
父節點
當前提交
25efbc240c
簽署人: 10sr GPG 金鑰 ID: C384BB17CBB19347
共有 1 個檔案被更改,包括 2 行新增1 行删除
  1. +2
    -1
      emacs.el

+ 2
- 1
emacs.el 查看文件

@@ -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…
取消
儲存