; * lisp/simple.el (async-shell-command): Add commentary about 3rd arg.

This commit is contained in:
Eli Zaretskii 2023-05-18 14:03:10 +03:00
parent dc1a437d46
commit 4daa6f7049

View file

@ -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.