aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMartin Rudalics2019-05-19 11:03:05 +0200
committerMartin Rudalics2019-05-19 11:03:05 +0200
commit8783becbba410581c6384ee021e7e83ad5236a29 (patch)
tree96cb1f85d83a836f9823acac0e16a89b7a0d9769 /etc
parentb87e5eea1dd7c7345d0a9f82759eedfd7c9a8099 (diff)
downloademacs-8783becbba410581c6384ee021e7e83ad5236a29.tar.gz
emacs-8783becbba410581c6384ee021e7e83ad5236a29.zip
New buffer display action function 'display-buffer-in-direction'
* lisp/window.el (windows-sharing-edge) (window--try-to-split-window-in-direction) (display-buffer-in-direction): New functions. * doc/lispref/windows.texi (Buffer Display Action Functions): Describe new action function 'display-buffer-in-direction'. (Buffer Display Action Alists): Describe new entry 'direction'. Amend description of 'window' entry. * etc/NEWS: Mention 'display-buffer-in-direction' and 'direction' and 'window' action alist entries.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index b4aa8d98ffa..d70cda179e0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1779,6 +1779,11 @@ This option allows to automatically resize minibuffer-only frames
1779similarly to how minibuffer windows are resized on "normal" frames. 1779similarly to how minibuffer windows are resized on "normal" frames.
1780 1780
1781+++ 1781+++
1782** New buffer display action function 'display-buffer-in-direction'.
1783This function allows to specify the location of the window chosen by
1784'display-buffer' in various ways.
1785
1786+++
1782** New buffer display action alist entry 'dedicated'. 1787** New buffer display action alist entry 'dedicated'.
1783Such an entry allows to specify the dedicated status of a window 1788Such an entry allows to specify the dedicated status of a window
1784created by 'display-buffer'. 1789created by 'display-buffer'.
@@ -1790,6 +1795,16 @@ for displaying a buffer. 'display-buffer-below-selected' is the only
1790action function to respect it at the moment. 1795action function to respect it at the moment.
1791 1796
1792+++ 1797+++
1798** New buffer display action alist entry 'direction'.
1799This entry is used to specify the location of the window chosen by
1800'display-buffer-in-direction'.
1801
1802+++
1803** Additional meaning of display action alist entry 'window'.
1804A 'window' entry can now also specify a reference window for
1805'display-buffer-in-direction'.
1806
1807+++
1793** The function 'assoc-delete-all' now takes an optional predicate argument. 1808** The function 'assoc-delete-all' now takes an optional predicate argument.
1794 1809
1795+++ 1810+++