aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
authorPhilipp Stephani2016-08-19 21:23:24 +0200
committerPhilipp Stephani2016-08-20 18:25:05 +0200
commit9b99772cf4b24443e1c096bb1e847da4cf502543 (patch)
tree32702965737695ae1a523f4dac9999472ca96524 /src/callproc.c
parent37d4723f73998ecbf30e9f655026422b0e2017a7 (diff)
downloademacs-9b99772cf4b24443e1c096bb1e847da4cf502543.tar.gz
emacs-9b99772cf4b24443e1c096bb1e847da4cf502543.zip
Some assorted documentation clarifications
* src/fileio.c (Fwrite_region): Clarify that END is ignored if START is nil. * src/editfns.c (Fbuffer_size): Add short discussion about narrowing. * src/callproc.c (Fcall_process_region): Discuss behavior when START and END are not buffer positions.
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 2fb5b1d5194..76b5caa4465 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -1005,6 +1005,13 @@ create_temp_file (ptrdiff_t nargs, Lisp_Object *args,
1005DEFUN ("call-process-region", Fcall_process_region, Scall_process_region, 1005DEFUN ("call-process-region", Fcall_process_region, Scall_process_region,
1006 3, MANY, 0, 1006 3, MANY, 0,
1007 doc: /* Send text from START to END to a synchronous process running PROGRAM. 1007 doc: /* Send text from START to END to a synchronous process running PROGRAM.
1008
1009START and END are normally buffer positions specifying the part of the
1010buffer to send to the process.
1011If START is nil, that means to use the entire buffer contents; END is
1012ignored.
1013If START is a string, then send that string to the process
1014instead of any buffer contents; END is ignored.
1008The remaining arguments are optional. 1015The remaining arguments are optional.
1009Delete the text if fourth arg DELETE is non-nil. 1016Delete the text if fourth arg DELETE is non-nil.
1010 1017