From: Stefan Monnier Date: Mon, 11 Jun 2018 02:04:11 +0000 (-0400) Subject: * lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Use \' i.s.o $. X-Git-Tag: emacs-27.0.90~4883 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8377ca6547d7850c5f308f70b06a1ca4d4f90660;p=emacs.git * lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Use \' i.s.o $. --- 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.