From 504bdd560affd9173f0b406bcc830afca8648e20 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 17 Jul 2024 14:10:50 +0300 Subject: [PATCH] ; Fix last change * doc/lispref/windows.texi (Dedicated Windows): * doc/emacs/windows.texi (Displaying Buffers): Mention keybinding. --- doc/emacs/windows.texi | 6 +++--- doc/lispref/windows.texi | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi index 7b9c4146700..69f24ec192f 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}