[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 55e92de: Make ispell.el ignore warnings from enchant-lsmod (close
From: |
Reuben Thomas |
Subject: |
master 55e92de: Make ispell.el ignore warnings from enchant-lsmod (closes #44318) |
Date: |
Mon, 2 Nov 2020 13:17:38 -0500 (EST) |
branch: master
commit 55e92de6d5bf43651c687b857cf18773628fe253
Author: Reuben Thomas <rrt@sc3d.org>
Commit: Reuben Thomas <rrt@sc3d.org>
Make ispell.el ignore warnings from enchant-lsmod (closes #44318)
* lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Don’t capture
stderr. Also remove unnecessary with-current-buffer wrapper.
---
lisp/textmodes/ispell.el | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 05a4bd0..413d880 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1216,13 +1216,11 @@ Internal use.")
(defun ispell--call-enchant-lsmod (&rest args)
"Call enchant-lsmod with ARGS and return the output as string."
(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) nil args)))
(defun ispell--get-extra-word-characters (&optional lang)
"Get the extra word characters for LANG as a character class.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 55e92de: Make ispell.el ignore warnings from enchant-lsmod (closes #44318),
Reuben Thomas <=