diff options
| author | Lars Ingebrigtsen | 2021-01-07 16:47:26 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-01-07 16:47:30 +0100 |
| commit | 3dc3874c768060e720aecc1c4ac0e87eea44d073 (patch) | |
| tree | 5c642bcbe3fff94ff47108d8aa778dcce4687211 | |
| parent | 3e99ff97e5411e6f999895fb80cf446399d57c59 (diff) | |
| download | emacs-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.el | 6 |
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. |
| 7382 | To change which window is used, set `display-buffer-base-action' | 7382 | To change which window is used, set `display-buffer-alist' |
| 7383 | to a list containing one of these \"action\" functions: | 7383 | to 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 | ||
| 7404 | For instance: | 7404 | For instance: |
| 7405 | 7405 | ||
| 7406 | (setq display-buffer-base-action '(display-buffer-at-bottom)) | 7406 | (setq display-buffer-alist '((\".*\" display-buffer-at-bottom))) |
| 7407 | 7407 | ||
| 7408 | Buffer display can be further customized to a very high degree; | 7408 | Buffer display can be further customized to a very high degree; |
| 7409 | the rest of this docstring explains some of the many | 7409 | the rest of this docstring explains some of the many |