summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-11-02 21:47:18 +0200
committerEli Zaretskii <eliz@gnu.org>2020-11-02 21:47:18 +0200
commita2bddd77108c622cd88eb2d0468d9236bf8f33a5 (patch)
tree1dd1f8ba7ee090f30b6796e167473bb168d7795c /lisp/textmodes
parent55e92de6d5bf43651c687b857cf18773628fe253 (diff)
downloademacs-a2bddd77108c622cd88eb2d0468d9236bf8f33a5.tar.gz
emacs-a2bddd77108c622cd88eb2d0468d9236bf8f33a5.tar.bz2
emacs-a2bddd77108c622cd88eb2d0468d9236bf8f33a5.zip
Explain last change
* lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Explain the workaround with discarding stderr. (Bug#44318)
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/ispell.el2
1 files changed, 2 insertions, 0 deletions
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)