emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/with-editor bc8fb282f1: shell-command--shell-command-with-


From: ELPA Syncer
Subject: [nongnu] elpa/with-editor bc8fb282f1: shell-command--shell-command-with-editor-mode: Fix remote code-path
Date: Mon, 24 Jan 2022 11:58:48 -0500 (EST)

branch: elpa/with-editor
commit bc8fb282f1d18f375cd357abe9cdaa95c9b2d9da
Author: Jaeyoon Jeong <dalgong@users.noreply.github.com>
Commit: Jonas Bernoulli <jonas@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]