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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user