>From 912261c8dfb337c6f94ca81a495a3690c0628f1e Mon Sep 17 00:00:00 2001 From: Damien Cassou Date: Mon, 16 Apr 2018 16:06:36 +0200 Subject: [PATCH] Improve docstring of start-process-shell-command * lisp/subr.el (start-process-shell-command): Add recommended signature to docstring. This hides the argument ARGS whose use is discouraged. This also makes the argument COMMAND visible so the user understands what the docstring is referring to. --- lisp/subr.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/subr.el b/lisp/subr.el index 9cf7d596cd..59bac5a195 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -3107,7 +3107,9 @@ start-process-shell-command An old calling convention accepted any number of arguments after COMMAND, which were just concatenated to COMMAND. This is still supported but strongly -discouraged." +discouraged. + +\(fn NAME BUFFER COMMAND)" (declare (advertised-calling-convention (name buffer command) "23.1")) ;; We used to use `exec' to replace the shell with the command, ;; but that failed to handle (...) and semicolon, etc. -- 2.14.3