1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

Further display-buffer doc changes

* lisp/window.el (display-buffer): `display-buffer-alist' is
apparently the variable the user should be directed towards.
This commit is contained in:
Lars Ingebrigtsen 2021-01-07 16:47:26 +01:00
parent 3e99ff97e5
commit 3dc3874c76

View file

@ -7379,8 +7379,8 @@ fails, call `display-buffer-pop-up-frame'.")
(defun display-buffer (buffer-or-name &optional action frame)
"Display BUFFER-OR-NAME in some window, without selecting it.
To change which window is used, set `display-buffer-base-action'
to a list containing one of these \"action\" functions:
To change which window is used, set `display-buffer-alist'
to an expression containing one of these \"action\" functions:
`display-buffer-same-window' -- Use the selected window.
`display-buffer-reuse-window' -- Use a window already showing
@ -7403,7 +7403,7 @@ to a list containing one of these \"action\" functions:
For instance:
(setq display-buffer-base-action '(display-buffer-at-bottom))
(setq display-buffer-alist '((\".*\" display-buffer-at-bottom)))
Buffer display can be further customized to a very high degree;
the rest of this docstring explains some of the many