emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-24 eca7da1: Complete the remaining documentation upd


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-24 eca7da1: Complete the remaining documentation updates for 24.5
Date: Sat, 07 Feb 2015 09:07:01 +0000

branch: emacs-24
commit eca7da109248c40963c285417b878a8abcd84049
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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.
---
 doc/lispref/ChangeLog      |    5 +++++
 doc/lispref/processes.texi |   16 ++++++++++------
 etc/NEWS                   |    2 ++
 3 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 911e698..be2bb3e 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-07  Eli Zaretskii  <address@hidden>
+
+       * processes.texi (Synchronous Processes): Update documentation of
+       call-process-shell-command and process-file-shell-command.
+
 2015-01-24  Eli Zaretskii  <address@hidden>
 
        * searching.texi (Regexp Search): Add a cross-reference to "Syntax
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi
index 621e8a1..cbc9ce4 100644
--- a/doc/lispref/processes.texi
+++ b/doc/lispref/processes.texi
@@ -503,17 +503,21 @@ address@hidden
 @c It actually uses shell-command-switch, but no need to mention that here.
 @end defun
 
address@hidden call-process-shell-command command &optional infile destination 
display &rest args
address@hidden call-process-shell-command command &optional infile destination 
display
 This function executes the shell command @var{command} synchronously.
-The final arguments @var{args} are additional arguments to add at the
-end of @var{command}.  The other arguments are handled as in
address@hidden
+The arguments are handled as in @code{call-process}.  An old calling
+convention allowed to pass any number of additional arguments after
address@hidden, which were concatenated to @var{command}; this is still
+supported, but strongly discouraged.
 @end defun
 
address@hidden process-file-shell-command command &optional infile destination 
display &rest args
address@hidden process-file-shell-command command &optional infile destination 
display
 This function is like @code{call-process-shell-command}, but uses
 @code{process-file} internally.  Depending on @code{default-directory},
address@hidden can be executed also on remote hosts.
address@hidden can be executed also on remote hosts.  An old calling
+convention allowed to pass any number of additional arguments after
address@hidden, which were concatenated to @var{command}; this is still
+supported, but strongly discouraged.
 @end defun
 
 @defun shell-command-to-string command
diff --git a/etc/NEWS b/etc/NEWS
index ae0d402..c25f663 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -33,11 +33,13 @@ otherwise leave it unmarked.
 
 * Changes in Specialized Modes and Packages in Emacs 24.5
 
++++
 ** `call-process-shell-command' and `process-file-shell-command'
 don't take "&rest args" any more.
 
 ** Obsolete packages
 
+---
 *** cc-compat.el
 
 ---



reply via email to

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