From: Eli Zaretskii Date: Wed, 17 Jul 2024 11:10:50 +0000 (+0300) Subject: ; Fix last change X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cacb8e7502fe7b980b806cf69a7ef61ca3ac3fe5;p=emacs.git ; Fix last change * doc/lispref/windows.texi (Dedicated Windows): * doc/emacs/windows.texi (Displaying Buffers): Mention keybinding. (cherry picked from commit 504bdd560affd9173f0b406bcc830afca8648e20) --- diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi index f13506695fb..48072bf15c1 100644 --- a/doc/emacs/windows.texi +++ b/doc/emacs/windows.texi @@ -434,9 +434,9 @@ you dedicate a window to that buffer, the command (through @kindex C-x w d @findex toggle-window-dedicated - You can use the command @code{toggle-window-dedicated} to toggle -whether the selected window is dedicated to the current buffer. With a -prefix argument, make the window strongly dedicated instead. + You can use the command @kbd{C-x w d} (@code{toggle-window-dedicated}) +to toggle whether the selected window is dedicated to the current +buffer. With a prefix argument, it makes the window strongly dedicated. @menu * Window Choice:: How @code{display-buffer} works. diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 9e47d12c42b..2b1b0d704a0 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi @@ -4447,10 +4447,12 @@ the value assigned by the last call of @code{set-window-dedicated-p} for selected window. @end defun +@findex toggle-window-dedicated @defun set-window-dedicated-p window flag This function marks @var{window} as dedicated to its buffer if @var{flag} is non-@code{nil}, and non-dedicated otherwise. -Interactively you can use the @code{toggle-window-dedicated} command. +Interactively you can use the @kbd{C-x w d} +(@code{toggle-window-dedicated}) command to do the same. As a special case, if @var{flag} is @code{t}, @var{window} becomes @dfn{strongly} dedicated to its buffer. @code{set-window-buffer}