diff options
| author | Philipp Stephani | 2016-08-19 21:23:24 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2016-08-20 18:25:05 +0200 |
| commit | 9b99772cf4b24443e1c096bb1e847da4cf502543 (patch) | |
| tree | 32702965737695ae1a523f4dac9999472ca96524 /src/callproc.c | |
| parent | 37d4723f73998ecbf30e9f655026422b0e2017a7 (diff) | |
| download | emacs-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.c | 7 |
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, | |||
| 1005 | DEFUN ("call-process-region", Fcall_process_region, Scall_process_region, | 1005 | DEFUN ("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 | |||
| 1009 | START and END are normally buffer positions specifying the part of the | ||
| 1010 | buffer to send to the process. | ||
| 1011 | If START is nil, that means to use the entire buffer contents; END is | ||
| 1012 | ignored. | ||
| 1013 | If START is a string, then send that string to the process | ||
| 1014 | instead of any buffer contents; END is ignored. | ||
| 1008 | The remaining arguments are optional. | 1015 | The remaining arguments are optional. |
| 1009 | Delete the text if fourth arg DELETE is non-nil. | 1016 | Delete the text if fourth arg DELETE is non-nil. |
| 1010 | 1017 | ||