diff options
| author | Martin Rudalics | 2009-05-08 06:26:05 +0000 |
|---|---|---|
| committer | Martin Rudalics | 2009-05-08 06:26:05 +0000 |
| commit | abe8f3060bc9127546acbcdc0c9be3de4471b52d (patch) | |
| tree | 2e67954f433692b44827322c13908b0c813af20e | |
| parent | 398dbf2661ead6cca0ee96679a377fbff38d21e2 (diff) | |
| download | emacs-abe8f3060bc9127546acbcdc0c9be3de4471b52d.tar.gz emacs-abe8f3060bc9127546acbcdc0c9be3de4471b52d.zip | |
Rewrite entry for display-buffer.
| -rw-r--r-- | etc/NEWS | 26 |
1 files changed, 12 insertions, 14 deletions
| @@ -1426,27 +1426,25 @@ value of `current-time' before and after Emacs loads the init files. | |||
| 1426 | Emacs initialization. | 1426 | Emacs initialization. |
| 1427 | 1427 | ||
| 1428 | ** Changes affecting display-buffer | 1428 | ** Changes affecting display-buffer |
| 1429 | |||
| 1430 | +++ | ||
| 1431 | *** New value nil for split-height-threshold inhibits vertical splitting | ||
| 1432 | unless there's no other window. | ||
| 1433 | |||
| 1434 | +++ | ||
| 1435 | *** New option split-width-threshold controls horizontal splitting. | ||
| 1436 | |||
| 1437 | +++ | ||
| 1438 | *** A window can be split horizontally even when it's not full-width. | ||
| 1439 | |||
| 1440 | +++ | 1429 | +++ |
| 1441 | *** New option split-window-preferred-function can be set to a function | 1430 | *** display-buffer tries to be smarter when splitting windows. |
| 1442 | to override the default splitting mechanism of display-buffer. | 1431 | The new option split-window-preferred-function lets you specify your own |
| 1432 | function to pop up new windows. Its default value split-window-sensibly | ||
| 1433 | can split a window either vertically or horizontally, whichever seems | ||
| 1434 | more suitable in the current configuration. You can tune the behavior | ||
| 1435 | of split-window-sensibly by customizing split-height-threshold and the | ||
| 1436 | new option split-width-threshold. Both options now take the value nil | ||
| 1437 | to inhibit splitting in one direction. Setting split-width-threshold to | ||
| 1438 | nil inhibits horizontal splitting and gets you the behavior of Emacs 22 | ||
| 1439 | in this respect. In any case, display-buffer may now split the largest | ||
| 1440 | window vertically even when it is not as wide as the containing frame. | ||
| 1443 | 1441 | ||
| 1444 | +++ | 1442 | +++ |
| 1445 | *** If pop-up-frames has the value `graphic-only', display-buffer only | 1443 | *** If pop-up-frames has the value `graphic-only', display-buffer only |
| 1446 | makes a separate frame on graphic displays. | 1444 | makes a separate frame on graphic displays. |
| 1447 | 1445 | ||
| 1448 | +++ | 1446 | +++ |
| 1449 | *** select-frame and set-frame-selected-window have new optional | 1447 | *** select-frame and set-frame-selected-window have a new optional |
| 1450 | argument NORECORD. If non-nil, this will avoid messing with the order | 1448 | argument NORECORD. If non-nil, this will avoid messing with the order |
| 1451 | of recently selected windows and the buffer list. | 1449 | of recently selected windows and the buffer list. |
| 1452 | 1450 | ||