diff options
author | Martin Rudalics <rudalics@gmx.at> | 2014-03-06 14:41:58 +0100 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2014-03-06 14:41:58 +0100 |
commit | cac0a1d67e6bfec0ba08e1999b91212a7a561120 (patch) | |
tree | 4c04ba03dbd31dc8e8d6f308ef9c04462e6e0f58 /etc | |
parent | fa965cbf7420c7ee5a0dde0df472592cd3aa2a1d (diff) | |
download | emacs-cac0a1d67e6bfec0ba08e1999b91212a7a561120.tar.gz |
More window code related fixes and documentation changes.
* window.c (Fother_window_for_scrolling): Check that
Vother_window_scroll_buffer is a buffer.
* window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
Fix doc-strings.
(fit-frame-to-buffer): New argument ONLY. Remove dependency on
fit-frame-to-buffer variable. Fix doc-string.
(fit-window-to-buffer): Set ONLY argument in call of
fit-frame-to-buffer. Fix doc-string.
* frames.texi (Size and Position): Rewrite entries for
`fit-frame-to-buffer' and `fit-frame-to-buffer-margins'. Add
description for `fit-frame-to-buffer-sizes'.
* windows.texi (Resizing Windows): Add descriptions for
pixelwise resizing. Add entries for `window-resize-pixelwise'
and `fit-window-to-buffer-horizontally'. Rewrite
`fit-window-to-buffer' entry.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -226,6 +226,11 @@ resize windows pixelwise. Most functions for changing or accessing window sizes now have an additional argument that allows changes to apply, or values to be returned, in pixels instead of lines/columns. ++++ +*** The functions `window-body-height' and `window-body-width' now never +count partially visible lines or columns if called with a nil PIXELWISE +argument. + *** Emacs can now draw dividers between adjacent windows. To put dividers between side-by-side/vertically stacked windows customize the frame parameters `right-divider-width' and `bottom-divider-width' to @@ -246,14 +251,13 @@ text of a window's buffer in pixels. This allows functions like `fit-frame-to-buffer' and `fit-window-to-buffer' to accurately fit a window to its buffer as it will be displayed. -*** `fit-window-to-buffer' can now resize windows horizontally. +*** `fit-window-to-buffer' can now resize windows in both dimensions. This behavior is controlled by the new option -`fit-window-to-buffer-horizontally'. +`fit-window-to-buffer-horizontally'. The new option +`fit-frame-to-buffer' allows to fit the window's frame to its buffer. -*** `fit-frame-to-buffer' can now fit frames in both directions. -This behavior is controlled by the option `fit-frame-to-buffer' which -tells in which direction(s) the frame shall be fit. The new options -`fit-frame-to-buffer-margins' and `fit-frame-to-buffer-sizes' allow to +*** `fit-frame-to-buffer' now fits frames in both dimensions. The new +options `fit-frame-to-buffer-margins' and `fit-frame-to-buffer-sizes' control the size of the frame and its position on screen. *** Temp Buffer Resize Mode can now adjust height and width of windows |