emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 4daa6f70497: ; * lisp/simple.el (async-shell-command): Add comm


From: Eli Zaretskii
Subject: emacs-29 4daa6f70497: ; * lisp/simple.el (async-shell-command): Add commentary about 3rd arg.
Date: Thu, 18 May 2023 07:03:21 -0400 (EDT)

branch: emacs-29
commit 4daa6f70497f90fa2640ab9d10b29ad2ace1991b
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * lisp/simple.el (async-shell-command): Add commentary about 3rd arg.
---
 lisp/simple.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lisp/simple.el b/lisp/simple.el
index 0138556787b..3f88fcb8d03 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -4454,6 +4454,10 @@ whose `car' is BUFFER."
                           '(nil (inhibit-switch-frame . t)))))
                 (set-window-point win pos)))))))))
 
+;; Implementation note: the next function intentionally tries to use
+;; the same signature as 'shell-command', although the 3rd arg is
+;; currently ignored, to allow us to implement support for specifying
+;; ERROR-BUFFER in the future.
 (defun async-shell-command (command &optional output-buffer error-buffer)
   "Execute string COMMAND asynchronously in background.
 



reply via email to

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