From 8377ca6547d7850c5f308f70b06a1ca4d4f90660 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 10 Jun 2018 22:04:11 -0400 Subject: [PATCH] * 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 73a2c2da8b1..cda76407f80 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. -- 2.39.2