Commit 91a27481 authored by Eli Zaretskii's avatar Eli Zaretskii

Support de-alt dictionary with Aspell.

* lisp/textmodes/ispell.el (ispell-aspell-find-dictionary):
Support Aspell dictionaries with names like "de-alt".  (Bug#20581)
parent 2abfe21d
......@@ -1077,7 +1077,8 @@ of `ispell-dictionary-base-alist' elements."
;; Try xx.dat first, strip out variant, country code, etc,
;; then try xx_YY.dat (without stripping country code).
(dolist (tmp-regexp (list "^[[:alpha:]]+"
(let ((fullpath
(concat tmp-path "/"
(and (string-match tmp-regexp dict-name)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment