summaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-05-07 12:16:27 +0300
committerEli Zaretskii <eliz@gnu.org>2016-05-07 12:16:27 +0300
commit4ffec91aa1fe668609f460cf6377644597c23306 (patch)
tree4fe9756b816ca269d3fb520b1f3719dad3696673 /src/process.c
parentdc662713e235c9c55c71636168af7e14519f180d (diff)
downloademacs-4ffec91aa1fe668609f460cf6377644597c23306.tar.gz
Document automatic adjustment of process' logical window dimensions
* doc/lispref/processes.texi (Process Buffers): Document 'set-process-window-size' and 'window-adjust-process-window-size-function'. * etc/NEWS: Mention the new functionality and variable. * src/process.c (Fset_process_window_size): Improve the doc string.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 2c758a4c9a7..14d7b6df1c3 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1108,7 +1108,9 @@ See `set-process-sentinel' for more info on sentinels. */)
DEFUN ("set-process-window-size", Fset_process_window_size,
Sset_process_window_size, 3, 3, 0,
- doc: /* Tell PROCESS that it has logical window size HEIGHT and WIDTH. */)
+ doc: /* Tell PROCESS that it has logical window size WIDTH by HEIGHT.
+Value is t if PROCESS was successfully told about the window size,
+nil otherwise. */)
(Lisp_Object process, Lisp_Object height, Lisp_Object width)
{
CHECK_PROCESS (process);