Skip to content

Commit

Permalink
Corrected how ispell looks up language name aliases for aspell
Browse files Browse the repository at this point in the history
  • Loading branch information
nathaniel committed Jun 20, 2012
1 parent cc48072 commit 1d8f143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lisp/textmodes/ispell.el
Expand Up @@ -1144,7 +1144,7 @@ when cocoAspell dictionaries are installed, but no Spelling prefpane.")
(file-name-sans-extension
(file-name-nondirectory dict-alias)))
(file-expand-wildcards
"/Library/Application Support/cocoAspell/aspell*-*-*/*.alias"))))
"/Library/Application Support/cocoAspell/aspell*-*-*/*.multi"))))
)
;; convert from names e.g. English (United States) to en_US
;; append stuff in brackets
Expand Down Expand Up @@ -1494,7 +1494,7 @@ Assumes that value contains no whitespace."
(car
(file-expand-wildcards
(concat "/Library/Application Support/cocoAspell/aspell*-*-*/"
dict-name ".alias")))))))
dict-name ".multi")))))))
(data-file
(if ispell-use-cocoaspell-internal
(concat dict-dir "/" lang ".dat")
Expand Down

0 comments on commit 1d8f143

Please sign in to comment.