1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00

; * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary): Add a comment.

This commit is contained in:
Eli Zaretskii 2015-05-16 12:41:02 +03:00
parent da4a31b1b1
commit 0d3451c75d

View File

@ -1075,7 +1075,8 @@ of `ispell-dictionary-base-alist' elements."
(dolist ( tmp-path (list ispell-aspell-dict-dir
ispell-aspell-data-dir ))
;; Try xx.dat first, strip out variant, country code, etc,
;; then try xx_YY.dat (without stripping country code).
;; then try xx_YY.dat (without stripping country code),
;; then try xx-alt.dat, for deu-alt etc.
(dolist (tmp-regexp (list "^[[:alpha:]]+"
"^[[:alpha:]_]+"
"^[[:alpha:]]+-\\(alt\\|old\\)"))