aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2015-05-16 12:41:02 +0300
committerEli Zaretskii2015-05-16 12:41:02 +0300
commit0d3451c75dcdc52948caf5c464feada7280c64c1 (patch)
tree6dbfce0be4698714db47bda17cbea602200da19c
parentda4a31b1b1af919f0473dffa86b46beec5ca5541 (diff)
downloademacs-0d3451c75dcdc52948caf5c464feada7280c64c1.tar.gz
emacs-0d3451c75dcdc52948caf5c464feada7280c64c1.zip
; * lisp/textmodes/ispell.el (ispell-aspell-find-dictionary): Add a comment.
-rw-r--r--lisp/textmodes/ispell.el3
1 files changed, 2 insertions, 1 deletions
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."
1075 (dolist ( tmp-path (list ispell-aspell-dict-dir 1075 (dolist ( tmp-path (list ispell-aspell-dict-dir
1076 ispell-aspell-data-dir )) 1076 ispell-aspell-data-dir ))
1077 ;; Try xx.dat first, strip out variant, country code, etc, 1077 ;; Try xx.dat first, strip out variant, country code, etc,
1078 ;; then try xx_YY.dat (without stripping country code). 1078 ;; then try xx_YY.dat (without stripping country code),
1079 ;; then try xx-alt.dat, for deu-alt etc.
1079 (dolist (tmp-regexp (list "^[[:alpha:]]+" 1080 (dolist (tmp-regexp (list "^[[:alpha:]]+"
1080 "^[[:alpha:]_]+" 1081 "^[[:alpha:]_]+"
1081 "^[[:alpha:]]+-\\(alt\\|old\\)")) 1082 "^[[:alpha:]]+-\\(alt\\|old\\)"))