diff options
| author | Eli Zaretskii | 2020-11-02 21:47:18 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-11-02 21:47:18 +0200 |
| commit | a2bddd77108c622cd88eb2d0468d9236bf8f33a5 (patch) | |
| tree | 1dd1f8ba7ee090f30b6796e167473bb168d7795c | |
| parent | 55e92de6d5bf43651c687b857cf18773628fe253 (diff) | |
| download | emacs-a2bddd77108c622cd88eb2d0468d9236bf8f33a5.tar.gz emacs-a2bddd77108c622cd88eb2d0468d9236bf8f33a5.zip | |
Explain last change
* lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Explain
the workaround with discarding stderr. (Bug#44318)
| -rw-r--r-- | lisp/textmodes/ispell.el | 2 |
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.") | |||
| 1220 | (replace-regexp-in-string "enchant\\(-[0-9]\\)?\\'" | 1220 | (replace-regexp-in-string "enchant\\(-[0-9]\\)?\\'" |
| 1221 | "enchant-lsmod\\1" | 1221 | "enchant-lsmod\\1" |
| 1222 | ispell-program-name) | 1222 | ispell-program-name) |
| 1223 | ;; We discard stderr here because enchant-lsmod can emit | ||
| 1224 | ;; unrelated warnings that will confuse us. | ||
| 1223 | nil '(t nil) nil args))) | 1225 | nil '(t nil) nil args))) |
| 1224 | 1226 | ||
| 1225 | (defun ispell--get-extra-word-characters (&optional lang) | 1227 | (defun ispell--get-extra-word-characters (&optional lang) |