From a91eadae50bc9de6f6ab4031f9b7b564bbb1731e Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 10 May 2025 13:32:13 -0500 Subject: correct aspell location on freebsd --- modules/flyspell-config.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules') diff --git a/modules/flyspell-config.el b/modules/flyspell-config.el index 0adafc6b..e97350d6 100644 --- a/modules/flyspell-config.el +++ b/modules/flyspell-config.el @@ -54,6 +54,10 @@ (setq ispell-dictionary "american") ; better for aspell ;; use aspell rather than ispell (setq ispell-program-name "aspell") + ;; aspell is in /usr/local/ on BSD + (cond ((eq system-type 'berkeley-unix) + (setq ispell-program-name "/usr/local/bin/aspell"))) + ;; in aspell "-l" means --list, not --lang (setq ispell-list-command "--list") (setq ispell-extra-args '("--sug-mode=ultra" "-W" "3" "--lang=en_US")) -- cgit v1.2.3