mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-04 14:40:54 -08:00
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:
parent
50f0b00748
commit
a8f04014c2
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue