aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMartin Rudalics2019-01-10 11:02:17 +0100
committerMartin Rudalics2019-01-10 11:02:17 +0100
commitf646675cd1637948b2df2351a9666792ea8251ea (patch)
tree8952c35ffd299c41799c854b135c96b3b2d87218 /etc
parenta2e78046f6b52e0a433ae6e1b9e6e5015f415412 (diff)
downloademacs-f646675cd1637948b2df2351a9666792ea8251ea.tar.gz
emacs-f646675cd1637948b2df2351a9666792ea8251ea.zip
Handle dedicated status in 'window--display-buffer' (Bug#33870)
* lisp/window.el (display-buffer-record-window): Rewrite doc-string. (window--display-buffer): Remove fifth argument DEDICATED and either directly use a 'dedicated' entry in ALIST or the value of 'display-buffer-mark-dedicated' instead. (display-buffer-in-atom-window, display-buffer-use-some-frame) (display-buffer-pop-up-frame, display-buffer-pop-up-window) (display-buffer-below-selected, display-buffer-at-bottom): Adjust callers of 'window--display-buffer'. (window--make-major-side-window) (display-buffer-in-side-window): Handle dedicated status of the chosen side window via a 'dedicated' alist entry and adjust 'window--display-buffer' call. (display-buffer-in-child-frame): Set up TYPE correctly for and adjust 'window--display-buffer' call. (display-buffer-in-previous-window): Handle dedicated status of a previous window already showing BUFFER. * doc/lispref/windows.texi (Buffer Display Action Alists): New action alist entry 'dedicated'. (Dedicated Windows): Mention new buffer display action alist entry 'dedicated'. * etc/NEWS: Mention new buffer display action alist entry 'dedicated'.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 6a91017e597..3d49640ac5d 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1288,6 +1288,11 @@ A buffer-local value of this hook is now run only if at least one
1288window showing the buffer has changed its size. 1288window showing the buffer has changed its size.
1289 1289
1290+++ 1290+++
1291** New buffer display action alist entry 'dedicated'.
1292Such an entry allows to specify the dedicated status of a window
1293created by 'display-buffer'.
1294
1295+++
1291** New buffer display action alist entry 'window-min-height'. 1296** New buffer display action alist entry 'window-min-height'.
1292Such an entry allows to specify a minimum height of the window used 1297Such an entry allows to specify a minimum height of the window used
1293for displaying a buffer. 'display-buffer-below-selected' is the only 1298for displaying a buffer. 'display-buffer-below-selected' is the only