; Fix last change

* doc/lispref/windows.texi (Dedicated Windows):
* doc/emacs/windows.texi (Displaying Buffers): Mention keybinding.
This commit is contained in:
Eli Zaretskii 2024-07-17 14:10:50 +03:00
parent 3ccebbe17b
commit 504bdd560a
2 changed files with 6 additions and 4 deletions

View file

@ -434,9 +434,9 @@ you dedicate a window to that buffer, the command (through
@kindex C-x w d @kindex C-x w d
@findex toggle-window-dedicated @findex toggle-window-dedicated
You can use the command @code{toggle-window-dedicated} to toggle You can use the command @kbd{C-x w d} (@code{toggle-window-dedicated})
whether the selected window is dedicated to the current buffer. With a to toggle whether the selected window is dedicated to the current
prefix argument, make the window strongly dedicated instead. buffer. With a prefix argument, it makes the window strongly dedicated.
@menu @menu
* Window Choice:: How @code{display-buffer} works. * Window Choice:: How @code{display-buffer} works.

View file

@ -4447,10 +4447,12 @@ the value assigned by the last call of @code{set-window-dedicated-p} for
selected window. selected window.
@end defun @end defun
@findex toggle-window-dedicated
@defun set-window-dedicated-p window flag @defun set-window-dedicated-p window flag
This function marks @var{window} as dedicated to its buffer if This function marks @var{window} as dedicated to its buffer if
@var{flag} is non-@code{nil}, and non-dedicated otherwise. @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 As a special case, if @var{flag} is @code{t}, @var{window} becomes
@dfn{strongly} dedicated to its buffer. @code{set-window-buffer} @dfn{strongly} dedicated to its buffer. @code{set-window-buffer}