From bdc58ec43c7ca6fcb232ba00ac936fc62ccff58d Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Wed, 21 Dec 2016 17:30:44 +0000 Subject: [PATCH 1/6] 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 23ee412..7551d2f 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1290,8 +1290,8 @@ ispell-set-spellchecker-params (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.7.4