[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master a8f0401: Fix previous patch to ispell.el
From: |
Reuben Thomas |
Subject: |
master a8f0401: Fix previous patch to ispell.el |
Date: |
Mon, 2 Nov 2020 17:12:30 -0500 (EST) |
branch: master
commit a8f04014c2ba99ee8a5c17c85f4db671ef707773
Author: Reuben Thomas <rrt@sc3d.org>
Commit: Reuben Thomas <rrt@sc3d.org>
Fix previous patch to ispell.el
* lisp/textmodes/ispell.el (ispell--call-enchant-lsmod):
with-current-buffer and with-output-to-string need to be the other
way around.
---
lisp/textmodes/ispell.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index da3c3f4..da518b1 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1215,8 +1215,8 @@ Internal use.")
(defun ispell--call-enchant-lsmod (&rest args)
"Call enchant-lsmod with ARGS and return the output as string."
- (with-current-buffer standard-output
- (with-output-to-string
+ (with-output-to-string
+ (with-current-buffer standard-output
(apply #'ispell-call-process
(replace-regexp-in-string "enchant\\(-[0-9]\\)?\\'"
"enchant-lsmod\\1"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master a8f0401: Fix previous patch to ispell.el,
Reuben Thomas <=