]> git.eshelyaron.com Git - emacs.git/commitdiff
; * doc/lispref/processes.texi (Process Buffers): More accurate wording.
authorEli Zaretskii <eliz@gnu.org>
Sat, 7 Oct 2023 16:09:58 +0000 (19:09 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 7 Oct 2023 16:09:58 +0000 (19:09 +0300)
doc/lispref/processes.texi

index 43c794104b884135a1f4fcc3c53f592dff13e350..e139874900521f667f5f2c6c2f78532f1997ee27 100644 (file)
@@ -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