From acd65a7d948f77701f5bdc99c031ca8fdb1e976e Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Wed, 21 Dec 2016 17:30:44 +0000 Subject: [PATCH] Keep default CASECHARS/NOT-CASECHARS for ispell built-in dictionaries * lisp/textmodes/ispell.el (ispell-set-spellchecker-params): Do not override CASECHARS and NOT-CASECHARS. The ispell dictionaries retain their hardwired values, and all other dictionaries are given sensible defaults. --- lisp/textmodes/ispell.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 23ee412b8c2..7551d2fde97 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1290,8 +1290,8 @@ aspell is used along with Emacs).") (cl-pushnew (if (cadr adict) ;; Do not touch hunspell uninitialized entries (list (nth 0 adict) ; dict name - "[[:alpha:]]" ; casechars - "[^[:alpha:]]" ; not-casechars + (nth 1 adict) ; casechars + (nth 2 adict) ; not-casechars (nth 3 adict) ; otherchars (nth 4 adict) ; many-otherchars-p (nth 5 adict) ; ispell-args -- 2.39.2