summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-11-17 15:26:55 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2019-11-17 15:27:21 -0800
commit0b47d731c08d0d5d4ba4a0c31f9be1152fd8c2c8 (patch)
treee0e761ef987ce1a69956b1180f818577afe68c1f /lisp
parent0415ad210c8c99e771b6273b6f683fe3f3614c6f (diff)
downloademacs-0b47d731c08d0d5d4ba4a0c31f9be1152fd8c2c8.tar.gz
* lisp/simple.el (process-file): Clarify doc string.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el15
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 8229899f9ac..c61ccd511c5 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -4007,14 +4007,13 @@ subprocess is `default-directory'.
If PROGRAM is a remote file name, it should be processed
by `file-local-name' before passing it to this function.
-File names in INFILE and BUFFER are handled normally, but file
-names in ARGS should be relative to `default-directory', as they
-are passed to the process verbatim. (This is a difference from
-`call-process', which does not support file name handlers for INFILE
-and BUFFER.)
-
-Some file name handlers might not support all variants, for example
-they might behave as if DISPLAY was nil, regardless of the actual
+Handle file names in INFILE and BUFFER normally; this differs
+from `call-process', which does not support file name handlers
+for INFILE and BUFFER. However, pass ARGS to the process
+verbatim without file name handling, as `call-process' does.
+
+Some file name handlers might not support all variants. For
+example, they might treat DISPLAY as nil regardless of the actual
value passed."
(let ((fh (find-file-name-handler default-directory 'process-file))
lc stderr-file)