From 809da7fc9a1ca112ae7179112a5cec8dd557510e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 7 Oct 2023 19:09:58 +0300 Subject: [PATCH] ; * doc/lispref/processes.texi (Process Buffers): More accurate wording. --- doc/lispref/processes.texi | 6 ++++-- 1 file 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 -- 2.39.2