branch: elpa/with-editor commit bc8fb282f1d18f375cd357abe9cdaa95c9b2d9da Author: Jaeyoon Jeong <dalg...@users.noreply.github.com> Commit: Jonas Bernoulli <jo...@bernoul.li>
shell-command--shell-command-with-editor-mode: Fix remote code-path --- lisp/with-editor.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/with-editor.el b/lisp/with-editor.el index b875e12720..13d2a9e8b6 100644 --- a/lisp/with-editor.el +++ b/lisp/with-editor.el @@ -865,11 +865,11 @@ else like the former." (not (file-remote-p default-directory))) (with-editor (funcall fn command output-buffer error-buffer))) (t - (apply fn (format "%s=%s %s" - (or with-editor--envvar "EDITOR") - (shell-quote-argument with-editor-sleeping-editor) - command) - output-buffer error-buffer) + (funcall fn (format "%s=%s %s" + (or with-editor--envvar "EDITOR") + (shell-quote-argument with-editor-sleeping-editor) + command) + output-buffer error-buffer) (ignore-errors (let ((process (get-buffer-process (or output-buffer