From: Eli Zaretskii Date: Sat, 7 Oct 2023 16:09:58 +0000 (+0300) Subject: ; * doc/lispref/processes.texi (Process Buffers): More accurate wording. X-Git-Tag: emacs-29.1.90~20 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=809da7fc9a1ca112ae7179112a5cec8dd557510e;p=emacs.git ; * doc/lispref/processes.texi (Process Buffers): More accurate wording. --- 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