diff options
| author | Reuben Thomas | 2020-11-02 22:10:56 +0000 |
|---|---|---|
| committer | Reuben Thomas | 2020-11-02 22:11:50 +0000 |
| commit | a8f04014c2ba99ee8a5c17c85f4db671ef707773 (patch) | |
| tree | a246251a41b5e1d58b4e0b78a1b90679d1720fc9 | |
| parent | 50f0b00748bea6d39915a1e2e2cbeca2accb7417 (diff) | |
| download | emacs-a8f04014c2ba99ee8a5c17c85f4db671ef707773.tar.gz emacs-a8f04014c2ba99ee8a5c17c85f4db671ef707773.zip | |
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.
| -rw-r--r-- | lisp/textmodes/ispell.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index da3c3f4d6fa..da518b10749 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -1215,8 +1215,8 @@ Internal use.") | |||
| 1215 | 1215 | ||
| 1216 | (defun ispell--call-enchant-lsmod (&rest args) | 1216 | (defun ispell--call-enchant-lsmod (&rest args) |
| 1217 | "Call enchant-lsmod with ARGS and return the output as string." | 1217 | "Call enchant-lsmod with ARGS and return the output as string." |
| 1218 | (with-current-buffer standard-output | 1218 | (with-output-to-string |
| 1219 | (with-output-to-string | 1219 | (with-current-buffer standard-output |
| 1220 | (apply #'ispell-call-process | 1220 | (apply #'ispell-call-process |
| 1221 | (replace-regexp-in-string "enchant\\(-[0-9]\\)?\\'" | 1221 | (replace-regexp-in-string "enchant\\(-[0-9]\\)?\\'" |
| 1222 | "enchant-lsmod\\1" | 1222 | "enchant-lsmod\\1" |