-
Notifications
You must be signed in to change notification settings - Fork 1
/
mac.el
27 lines (26 loc) · 951 Bytes
/
mac.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(setq mac-command-modifier 'meta)
(setq explicit-bash-args '("-l"))
;; Requires cocoaAspell to be installed
;;
;; Contains magic to fix errors about not finding word lists
;;
;; Also had to set dict-dir to
;; /Library/Application Support/cocoAspell/aspell6-en-6.0-0 in /usr/local/etc/aspell.conf
;;
;; Grr magic.
(add-to-list 'exec-path "/usr/local/bin")
(setq ispell-program-name "aspell"
ispell-dictionary "english"
ispell-dictionary-alist
(let ((default '("[A-Za-z]" "[^A-Za-z]" "[']" nil
("-B" "-d" "english" "--dict-dir"
"/Library/Application Support/cocoAspell/aspell6-en-6.0-0")
nil iso-8859-1)))
`((nil ,@default)
("english" ,@default))))
(setq ispell-dictionary-alist
'((nil
"[A-Za-z]" "[^A-Za-z]" "[']" nil
("-B" "-d" "english" "--dict-dir"
"/Library/Application Support/cocoAspell/aspell6-en-6.0-0")
nil iso-8859-1)))