diff options
| author | Paul Eggert | 2011-03-05 23:53:03 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-05 23:53:03 -0800 |
| commit | 58635e4de85621d4f16befe15b1df44a637bd078 (patch) | |
| tree | b5dc80332d5912ba795e59ee86cea1527324709e /doc/lispref | |
| parent | 5489860be109ec6fa2a7d143cdecb6887e37f5d5 (diff) | |
| parent | 555e9b5c69d70acca13310fbe533594a8f1eab98 (diff) | |
| download | emacs-58635e4de85621d4f16befe15b1df44a637bd078.tar.gz emacs-58635e4de85621d4f16befe15b1df44a637bd078.zip | |
Merge from mainline.
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 13 | ||||
| -rw-r--r-- | doc/lispref/Makefile.in | 1 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 3 | ||||
| -rw-r--r-- | doc/lispref/processes.texi | 25 |
4 files changed, 28 insertions, 14 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 1a980f14f3d..7bb1919b837 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2011-03-06 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * Makefile.in (srcs): Add package.texi. | ||
| 4 | |||
| 5 | 2011-03-05 Chong Yidong <cyd@stupidchicken.com> | ||
| 6 | |||
| 7 | * processes.texi (Synchronous Processes): Minor clarification | ||
| 8 | (Bug#8149). | ||
| 9 | |||
| 10 | 2011-03-03 Glenn Morris <rgm@gnu.org> | ||
| 11 | |||
| 12 | * files.texi (Truenames): Minor clarification. (Bug#2341) | ||
| 13 | |||
| 1 | 2011-03-01 Glenn Morris <rgm@gnu.org> | 14 | 2011-03-01 Glenn Morris <rgm@gnu.org> |
| 2 | 15 | ||
| 3 | * variables.texi (Directory Local Variables): | 16 | * variables.texi (Directory Local Variables): |
diff --git a/doc/lispref/Makefile.in b/doc/lispref/Makefile.in index a9664a4e197..d5427f6e477 100644 --- a/doc/lispref/Makefile.in +++ b/doc/lispref/Makefile.in | |||
| @@ -80,6 +80,7 @@ srcs = \ | |||
| 80 | $(srcdir)/numbers.texi \ | 80 | $(srcdir)/numbers.texi \ |
| 81 | $(srcdir)/objects.texi \ | 81 | $(srcdir)/objects.texi \ |
| 82 | $(srcdir)/os.texi \ | 82 | $(srcdir)/os.texi \ |
| 83 | $(srcdir)/package.texi \ | ||
| 83 | $(srcdir)/positions.texi \ | 84 | $(srcdir)/positions.texi \ |
| 84 | $(srcdir)/processes.texi \ | 85 | $(srcdir)/processes.texi \ |
| 85 | $(srcdir)/searching.texi \ | 86 | $(srcdir)/searching.texi \ |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 3697f18badd..e3bdebd28a1 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1041,7 +1041,8 @@ because they eliminate symbolic links as a cause of name variation. | |||
| 1041 | 1041 | ||
| 1042 | @defun file-truename filename | 1042 | @defun file-truename filename |
| 1043 | The function @code{file-truename} returns the truename of the file | 1043 | The function @code{file-truename} returns the truename of the file |
| 1044 | @var{filename}. The argument must be an absolute file name. | 1044 | @var{filename}. If the argument is not an absolute file name, |
| 1045 | this function first expands it against @code{default-directory}. | ||
| 1045 | 1046 | ||
| 1046 | This function does not expand environment variables. Only | 1047 | This function does not expand environment variables. Only |
| 1047 | @code{substitute-in-file-name} does that. @xref{Definition of | 1048 | @code{substitute-in-file-name} does that. @xref{Definition of |
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 8a8de0e7fa8..dc9fed58076 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -266,10 +266,9 @@ subprocess by @code{call-process-region} is encoded using a coding | |||
| 266 | system, much like text written into a file. @xref{Coding Systems}. | 266 | system, much like text written into a file. @xref{Coding Systems}. |
| 267 | 267 | ||
| 268 | @defun call-process program &optional infile destination display &rest args | 268 | @defun call-process program &optional infile destination display &rest args |
| 269 | This function calls @var{program} in a separate process and waits for | 269 | This function calls @var{program} and waits for it to finish. |
| 270 | it to finish. | ||
| 271 | 270 | ||
| 272 | The standard input for the process comes from file @var{infile} if | 271 | The standard input for the new process comes from file @var{infile} if |
| 273 | @var{infile} is not @code{nil}, and from the null device otherwise. | 272 | @var{infile} is not @code{nil}, and from the null device otherwise. |
| 274 | The argument @var{destination} says where to put the process output. | 273 | The argument @var{destination} says where to put the process output. |
| 275 | Here are the possibilities: | 274 | Here are the possibilities: |
| @@ -488,10 +487,10 @@ inputinput@point{} | |||
| 488 | @end defun | 487 | @end defun |
| 489 | 488 | ||
| 490 | @defun call-process-shell-command command &optional infile destination display &rest args | 489 | @defun call-process-shell-command command &optional infile destination display &rest args |
| 491 | This function executes the shell command @var{command} synchronously | 490 | This function executes the shell command @var{command} synchronously. |
| 492 | in a separate process. The final arguments @var{args} are additional | 491 | The final arguments @var{args} are additional arguments to add at the |
| 493 | arguments to add at the end of @var{command}. The other arguments | 492 | end of @var{command}. The other arguments are handled as in |
| 494 | are handled as in @code{call-process}. | 493 | @code{call-process}. |
| 495 | @end defun | 494 | @end defun |
| 496 | 495 | ||
| 497 | @defun process-file-shell-command command &optional infile destination display &rest args | 496 | @defun process-file-shell-command command &optional infile destination display &rest args |
| @@ -506,12 +505,12 @@ then returns the command's output as a string. | |||
| 506 | @end defun | 505 | @end defun |
| 507 | 506 | ||
| 508 | @defun process-lines program &rest args | 507 | @defun process-lines program &rest args |
| 509 | This function runs @var{program} in a separate process, waits for it | 508 | This function runs @var{program}, waits for it to finish, and returns |
| 510 | to finish, and returns its output as a list of strings. Each string | 509 | its output as a list of strings. Each string in the list holds a |
| 511 | in the list holds a single line of text output by the program; the | 510 | single line of text output by the program; the end-of-line characters |
| 512 | end-of-line characters are stripped from each line. The arguments | 511 | are stripped from each line. The arguments beyond @var{program}, |
| 513 | beyond @var{program}, @var{args}, are strings that specify | 512 | @var{args}, are strings that specify command-line arguments with which |
| 514 | command-line arguments with which to run the program. | 513 | to run the program. |
| 515 | 514 | ||
| 516 | If @var{program} exits with a non-zero exit status, this function | 515 | If @var{program} exits with a non-zero exit status, this function |
| 517 | signals an error. | 516 | signals an error. |