]> git.eshelyaron.com Git - emacs.git/commitdiff
Keep default CASECHARS/NOT-CASECHARS for ispell built-in dictionaries
authorReuben Thomas <rrt@sc3d.org>
Wed, 21 Dec 2016 17:30:44 +0000 (17:30 +0000)
committerReuben Thomas <rrt@sc3d.org>
Wed, 21 Dec 2016 22:31:29 +0000 (22:31 +0000)
* 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

index 23ee412b8c26ccb12cd2f62d60f58c8d26ebfa6a..7551d2fde97c33e94b37d34d035c1ab58b88f50c 100644 (file)
@@ -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