aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-01-07 16:47:26 +0100
committerLars Ingebrigtsen2021-01-07 16:47:30 +0100
commit3dc3874c768060e720aecc1c4ac0e87eea44d073 (patch)
tree5c642bcbe3fff94ff47108d8aa778dcce4687211
parent3e99ff97e5411e6f999895fb80cf446399d57c59 (diff)
downloademacs-3dc3874c768060e720aecc1c4ac0e87eea44d073.tar.gz
emacs-3dc3874c768060e720aecc1c4ac0e87eea44d073.zip
Further display-buffer doc changes
* lisp/window.el (display-buffer): `display-buffer-alist' is apparently the variable the user should be directed towards.
-rw-r--r--lisp/window.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/window.el b/lisp/window.el
index 37e1800ad11..38be7789062 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -7379,8 +7379,8 @@ fails, call `display-buffer-pop-up-frame'.")
7379 7379
7380(defun display-buffer (buffer-or-name &optional action frame) 7380(defun display-buffer (buffer-or-name &optional action frame)
7381 "Display BUFFER-OR-NAME in some window, without selecting it. 7381 "Display BUFFER-OR-NAME in some window, without selecting it.
7382To change which window is used, set `display-buffer-base-action' 7382To change which window is used, set `display-buffer-alist'
7383to a list containing one of these \"action\" functions: 7383to an expression containing one of these \"action\" functions:
7384 7384
7385 `display-buffer-same-window' -- Use the selected window. 7385 `display-buffer-same-window' -- Use the selected window.
7386 `display-buffer-reuse-window' -- Use a window already showing 7386 `display-buffer-reuse-window' -- Use a window already showing
@@ -7403,7 +7403,7 @@ to a list containing one of these \"action\" functions:
7403 7403
7404For instance: 7404For instance:
7405 7405
7406 (setq display-buffer-base-action '(display-buffer-at-bottom)) 7406 (setq display-buffer-alist '((\".*\" display-buffer-at-bottom)))
7407 7407
7408Buffer display can be further customized to a very high degree; 7408Buffer display can be further customized to a very high degree;
7409the rest of this docstring explains some of the many 7409the rest of this docstring explains some of the many