Fix 'toggle-window-dedicated' documentation
* doc/emacs/windows.texi (Displaying Buffers): Fix the cross reference to the elisp manual. Add missing 'toggle-window-dedicated'. * doc/lispref/windows.texi (Dedicated Windows): Mention 'toggle-window-dedicated'.
This commit is contained in:
parent
719d5753ca
commit
3ccebbe17b
2 changed files with 5 additions and 4 deletions
|
@ -418,7 +418,7 @@ these commands are bound in the @kbd{C-x 5} prefix key.
|
||||||
|
|
||||||
@cindex dedicated window
|
@cindex dedicated window
|
||||||
Sometimes, a window is ``dedicated'' to its current buffer.
|
Sometimes, a window is ``dedicated'' to its current buffer.
|
||||||
@xref{Dedicated Windows,, elisp, The Emacs Lisp Reference Manual}.
|
@xref{Dedicated Windows,,, elisp, The Emacs Lisp Reference Manual}.
|
||||||
@code{display-buffer} will avoid reusing dedicated windows most of the
|
@code{display-buffer} will avoid reusing dedicated windows most of the
|
||||||
time. This is indicated by a @samp{d} in the mode line (@pxref{Mode
|
time. This is indicated by a @samp{d} in the mode line (@pxref{Mode
|
||||||
Line}). A window can also be strongly dedicated, which prevents any
|
Line}). A window can also be strongly dedicated, which prevents any
|
||||||
|
@ -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
|
||||||
Toggle whether the selected window is dedicated to the current
|
You can use the command @code{toggle-window-dedicated} to toggle
|
||||||
buffer. With a prefix argument, make the window strongly dedicated
|
whether the selected window is dedicated to the current buffer. With a
|
||||||
instead.
|
prefix argument, make the window strongly dedicated instead.
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* Window Choice:: How @code{display-buffer} works.
|
* Window Choice:: How @code{display-buffer} works.
|
||||||
|
|
|
@ -4450,6 +4450,7 @@ selected window.
|
||||||
@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.
|
||||||
|
|
||||||
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}
|
||||||
|
|
Loading…
Add table
Reference in a new issue