diff options
| author | Martin Rudalics | 2019-05-19 11:03:05 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2019-05-19 11:03:05 +0200 |
| commit | 8783becbba410581c6384ee021e7e83ad5236a29 (patch) | |
| tree | 96cb1f85d83a836f9823acac0e16a89b7a0d9769 /etc | |
| parent | b87e5eea1dd7c7345d0a9f82759eedfd7c9a8099 (diff) | |
| download | emacs-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/NEWS | 15 |
1 files changed, 15 insertions, 0 deletions
| @@ -1779,6 +1779,11 @@ This option allows to automatically resize minibuffer-only frames | |||
| 1779 | similarly to how minibuffer windows are resized on "normal" frames. | 1779 | similarly to how minibuffer windows are resized on "normal" frames. |
| 1780 | 1780 | ||
| 1781 | +++ | 1781 | +++ |
| 1782 | ** New buffer display action function 'display-buffer-in-direction'. | ||
| 1783 | This 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'. |
| 1783 | Such an entry allows to specify the dedicated status of a window | 1788 | Such an entry allows to specify the dedicated status of a window |
| 1784 | created by 'display-buffer'. | 1789 | created by 'display-buffer'. |
| @@ -1790,6 +1795,16 @@ for displaying a buffer. 'display-buffer-below-selected' is the only | |||
| 1790 | action function to respect it at the moment. | 1795 | action function to respect it at the moment. |
| 1791 | 1796 | ||
| 1792 | +++ | 1797 | +++ |
| 1798 | ** New buffer display action alist entry 'direction'. | ||
| 1799 | This 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'. | ||
| 1804 | A '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 | +++ |