Complete the remaining documentation updates for 24.5

doc/lispref/processes.texi (Synchronous Processes): Update documentation of
 call-process-shell-command and process-file-shell-command.

 etc/NEWS: Mark the entry for changed calling sequence of
 call-process-shell-command and process-file-shell-command as documented.
This commit is contained in:
Eli Zaretskii 2015-02-07 11:04:52 +02:00
parent 4f5033faf2
commit eca7da1092
3 changed files with 17 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2015-02-07 Eli Zaretskii <eliz@gnu.org>
* processes.texi (Synchronous Processes): Update documentation of
call-process-shell-command and process-file-shell-command.
2015-01-24 Eli Zaretskii <eliz@gnu.org> 2015-01-24 Eli Zaretskii <eliz@gnu.org>
* searching.texi (Regexp Search): Add a cross-reference to "Syntax * searching.texi (Regexp Search): Add a cross-reference to "Syntax

View file

@ -503,17 +503,21 @@ inputinput@point{}
@c It actually uses shell-command-switch, but no need to mention that here. @c It actually uses shell-command-switch, but no need to mention that here.
@end defun @end defun
@defun call-process-shell-command command &optional infile destination display &rest args @defun call-process-shell-command command &optional infile destination display
This function executes the shell command @var{command} synchronously. This function executes the shell command @var{command} synchronously.
The final arguments @var{args} are additional arguments to add at the The arguments are handled as in @code{call-process}. An old calling
end of @var{command}. The other arguments are handled as in convention allowed to pass any number of additional arguments after
@code{call-process}. @var{display}, which were concatenated to @var{command}; this is still
supported, but strongly discouraged.
@end defun @end defun
@defun process-file-shell-command command &optional infile destination display &rest args @defun process-file-shell-command command &optional infile destination display
This function is like @code{call-process-shell-command}, but uses This function is like @code{call-process-shell-command}, but uses
@code{process-file} internally. Depending on @code{default-directory}, @code{process-file} internally. Depending on @code{default-directory},
@var{command} can be executed also on remote hosts. @var{command} can be executed also on remote hosts. An old calling
convention allowed to pass any number of additional arguments after
@var{display}, which were concatenated to @var{command}; this is still
supported, but strongly discouraged.
@end defun @end defun
@defun shell-command-to-string command @defun shell-command-to-string command

View file

@ -33,11 +33,13 @@ otherwise leave it unmarked.
* Changes in Specialized Modes and Packages in Emacs 24.5 * Changes in Specialized Modes and Packages in Emacs 24.5
+++
** `call-process-shell-command' and `process-file-shell-command' ** `call-process-shell-command' and `process-file-shell-command'
don't take "&rest args" any more. don't take "&rest args" any more.
** Obsolete packages ** Obsolete packages
---
*** cc-compat.el *** cc-compat.el
--- ---