From: Eli Zaretskii Date: Mon, 2 Nov 2020 19:47:18 +0000 (+0200) Subject: Explain last change X-Git-Tag: emacs-28.0.90~5277 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a2bddd77108c622cd88eb2d0468d9236bf8f33a5;p=emacs.git Explain last change * lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Explain the workaround with discarding stderr. (Bug#44318) --- diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 413d8802a16..1cd17b11ca8 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1220,6 +1220,8 @@ Internal use.") (replace-regexp-in-string "enchant\\(-[0-9]\\)?\\'" "enchant-lsmod\\1" ispell-program-name) + ;; We discard stderr here because enchant-lsmod can emit + ;; unrelated warnings that will confuse us. nil '(t nil) nil args))) (defun ispell--get-extra-word-characters (&optional lang)