]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Use \' i.s.o $.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Jun 2018 02:04:11 +0000 (22:04 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Jun 2018 02:04:11 +0000 (22:04 -0400)
lisp/textmodes/ispell.el

index 73a2c2da8b1fa18f94769eec847c197c758b4941..cda76407f807517545b2ad99406350e76f91cd52 100644 (file)
@@ -1205,9 +1205,11 @@ Internal use.")
   (with-output-to-string
     (with-current-buffer
         standard-output
-      (apply 'ispell-call-process
-             (replace-regexp-in-string "enchant\\(-[0-9]\\)?$" "enchant-lsmod\\1"
-                                       ispell-program-name) nil t nil args))))
+      (apply #'ispell-call-process
+             (replace-regexp-in-string "enchant\\(-[0-9]\\)?\\'"
+                                       "enchant-lsmod\\1"
+                                       ispell-program-name)
+             nil t nil args))))
 
 (defun ispell--get-extra-word-characters (&optional lang)
   "Get the extra word characters for LANG as a character class.