emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 8377ca6: * lisp/textmodes/ispell.el (ispell--call-e


From: Stefan Monnier
Subject: [Emacs-diffs] master 8377ca6: * lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Use \' i.s.o $.
Date: Sun, 10 Jun 2018 22:04:20 -0400 (EDT)

branch: master
commit 8377ca6547d7850c5f308f70b06a1ca4d4f90660
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Use \' i.s.o $.
---
 lisp/textmodes/ispell.el | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 73a2c2d..cda7640 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]