From 0d3451c75dcdc52948caf5c464feada7280c64c1 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 16 May 2015 12:41:02 +0300 Subject: [PATCH] ; * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary): Add a comment. --- lisp/textmodes/ispell.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 8107f794e0..f67fae8bcf 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\\)")) -- 2.39.2