Fix aspell on mac
This commit is contained in:
parent
12b6bdf04f
commit
a230cc6e48
1 changed files with 5 additions and 0 deletions
|
|
@ -243,6 +243,11 @@
|
|||
;; Cleanup all the whitespaces.
|
||||
(add-hook 'before-save-hook 'whitespace-cleanup)
|
||||
|
||||
;; On MacOS we need to specify the path to aspell explicitly because PATH is
|
||||
;; a broken pile of garbage.
|
||||
(if (file-executable-p "/usr/local/bin/aspell")
|
||||
(setq ispell-program-name "/usr/local/bin/aspell"))
|
||||
|
||||
;; =================================================================
|
||||
;; Text mode configuration.
|
||||
;; =================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue