From 0a6dd5e26f0c6257bd5d6d00ba8387080893d945 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Thu, 12 Apr 2012 21:14:43 +0200 Subject: [PATCH] * processes.texi (Synchronous Processes): Mention `default-directory'. Fixes: debbugs:7515 --- doc/lispref/ChangeLog | 5 +++++ doc/lispref/processes.texi | 3 +++ 2 files changed, 8 insertions(+) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 81558bbd248..b5bdba1296f 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2012-04-12 Jari Aalto + + * processes.texi (Synchronous Processes): Mention + `default-directory' (bug#7515). + 2012-04-09 Chong Yidong * customize.texi (Variable Definitions): Remove user-variable-p. diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 0dae20427c6..39b146e3017 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi @@ -268,6 +268,9 @@ system, much like text written into a file. @xref{Coding Systems}. @defun call-process program &optional infile destination display &rest args This function calls @var{program} and waits for it to finish. +The current working directory of the subprocess is +@code{default-directory}. + The standard input for the new process comes from file @var{infile} if @var{infile} is not @code{nil}, and from the null device otherwise. The argument @var{destination} says where to put the process output. -- 2.39.2