From: Eli Zaretskii Date: Sat, 16 May 2015 09:41:02 +0000 (+0300) Subject: ; * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary): Add a comment. X-Git-Tag: emacs-25.0.90~2087 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d3451c75dcdc52948caf5c464feada7280c64c1;p=emacs.git ; * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary): Add a comment. --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 8107f794e07..f67fae8bcfa 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -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\\)"))