Rename +popup-display-buffer

To +popup-display-buffer-stacked-side-window, to make it more obvious
what it actually does.
This commit is contained in:
Henrik Lissner 2018-06-17 02:03:05 +02:00
parent c3988a8298
commit 1eae57a0b4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
3 changed files with 8 additions and 8 deletions

View file

@ -574,10 +574,10 @@ and may be called only if no window on SIDE exists yet."
(advice-add #'window--sides-check :override #'ignore))
;;;###autoload
(defun +popup-display-buffer (buffer alist)
(defun +popup-display-buffer-stacked-side-window (buffer alist)
"A `display-buffer' action that serves as an alternative to
`display-buffer-in-side-window', but allows for stacking popups not only
laterally with the `vslot' alist entry.
`display-buffer-in-side-window', but allows for stacking popups with the `vslot'
alist entry.
Accepts the same arguments as `display-buffer-in-side-window'. You must set
`window--sides-inhibit-check' to non-nil for this work properly."