summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2016-12-21 17:30:44 +0000
committerReuben Thomas <rrt@sc3d.org>2016-12-21 22:31:29 +0000
commitacd65a7d948f77701f5bdc99c031ca8fdb1e976e (patch)
treef1d0dbe1ce0eb2126417e0562c3263ab7aed1fa2 /lisp
parent7ca4396f855799e3c6b3b88eea9181ee7ad602d4 (diff)
downloademacs-acd65a7d948f77701f5bdc99c031ca8fdb1e976e.tar.gz
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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/textmodes/ispell.el4
1 files 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