aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2018-06-10 22:04:11 -0400
committerStefan Monnier2018-06-10 22:04:11 -0400
commit8377ca6547d7850c5f308f70b06a1ca4d4f90660 (patch)
treea20f93913ef4c6ea5a3dc15c68bb25b952048d9f
parent962547791e6ea16b18512e6b933a5317c464da26 (diff)
downloademacs-8377ca6547d7850c5f308f70b06a1ca4d4f90660.tar.gz
emacs-8377ca6547d7850c5f308f70b06a1ca4d4f90660.zip
* lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Use \' i.s.o $.
-rw-r--r--lisp/textmodes/ispell.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 73a2c2da8b1..cda76407f80 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1205,9 +1205,11 @@ Internal use.")
1205 (with-output-to-string 1205 (with-output-to-string
1206 (with-current-buffer 1206 (with-current-buffer
1207 standard-output 1207 standard-output
1208 (apply 'ispell-call-process 1208 (apply #'ispell-call-process
1209 (replace-regexp-in-string "enchant\\(-[0-9]\\)?$" "enchant-lsmod\\1" 1209 (replace-regexp-in-string "enchant\\(-[0-9]\\)?\\'"
1210 ispell-program-name) nil t nil args)))) 1210 "enchant-lsmod\\1"
1211 ispell-program-name)
1212 nil t nil args))))
1211 1213
1212(defun ispell--get-extra-word-characters (&optional lang) 1214(defun ispell--get-extra-word-characters (&optional lang)
1213 "Get the extra word characters for LANG as a character class. 1215 "Get the extra word characters for LANG as a character class.