Fix aspell on mac

This commit is contained in:
John Doty 2016-05-24 10:44:41 -07:00
parent 12b6bdf04f
commit a230cc6e48

View file

@ -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.
;; =================================================================