summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-10-07 19:09:58 +0300
committerEli Zaretskii <eliz@gnu.org>2023-10-07 19:09:58 +0300
commit809da7fc9a1ca112ae7179112a5cec8dd557510e (patch)
tree0e01fdc09a0f27c342c34e5659e3913e6ab33264
parent8f23a02a9ea1fbc4213cae5664dcb9bf6b5205f6 (diff)
downloademacs-809da7fc9a1ca112ae7179112a5cec8dd557510e.tar.gz
; * doc/lispref/processes.texi (Process Buffers): More accurate wording.
-rw-r--r--doc/lispref/processes.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi
index 43c794104b8..e1398749005 100644
--- a/doc/lispref/processes.texi
+++ b/doc/lispref/processes.texi
@@ -1641,8 +1641,10 @@ from previous output.
@defun set-process-buffer process buffer
This function sets the buffer associated with @var{process} to
@var{buffer}. If @var{buffer} is @code{nil}, the process becomes
-associated with no buffer; if non-@code{nil}, the process mark will be
-set to point to the end of @var{buffer}.
+associated with no buffer; if non-@code{nil} and different from the
+buffer associated with the process, the process mark will be set to
+point to the end of @var{buffer} (unless the process mark is already
+associated with @var{buffer}).
@end defun
@defun get-buffer-process buffer-or-name