]> git.eshelyaron.com Git - emacs.git/commitdiff
Explain last change
authorEli Zaretskii <eliz@gnu.org>
Mon, 2 Nov 2020 19:47:18 +0000 (21:47 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 2 Nov 2020 19:47:18 +0000 (21:47 +0200)
* lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Explain
the workaround with discarding stderr.  (Bug#44318)

lisp/textmodes/ispell.el

index 413d8802a161825b3f9d39541ff52e9a2ceac614..1cd17b11ca8ab3baa71f7aceb34d8ec5d4330a7c 100644 (file)
@@ -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)