diff options
| author | Martin Rudalics | 2014-10-04 10:20:24 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2014-10-04 10:20:24 +0200 |
| commit | 3c6ba8b49bb87ada8a8cca6566ad0b6e3fc4e57d (patch) | |
| tree | a47c285b071a0821573b19970cb80e1ea7150cc3 /src/buffer.c | |
| parent | cebc89eea10104af6a871b8ee78fb60d6c597898 (diff) | |
| download | emacs-3c6ba8b49bb87ada8a8cca6566ad0b6e3fc4e57d.tar.gz emacs-3c6ba8b49bb87ada8a8cca6566ad0b6e3fc4e57d.zip | |
Add documentation for horizontal scroll bars and fix some minor issues.
* buffer.c (scroll_bar_width, scroll_bar_height): Fix
doc-strings.
* window.c (Fset_window_scroll_bars): Fix doc-string.
(Fwindow_scroll_bars): Have it return what the doc-string says.
* window.el (window-full-height-p): Make it behave correctly for
minibuffer window.
(window-current-scroll-bars): Fix code.
(fit-frame-to-buffer): Use window-scroll-bar-height instead of
window-scroll-bars.
* frame.el (frame-current-scroll-bars): Fix doc-string.
* scroll-bar.el (toggle-horizontal-scroll-bar): New command.
* frames.texi (Scroll Bars): Describe use of horizontal scroll
bars.
* display.texi (Scroll Bars): Add description of horizontal scroll
bars and associated functions.
* frames.texi (Layout Parameters): Add horizontal scroll bar
entries. Remove paragraph on "combined fringe widths".
* windows.texi (Window Sizes): Describe affects of horizontal
scroll bars on window layout and sizes. Fix description of
window-full-height-p.
(Resizing Windows): Mention horizontal scroll bar.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c index b46993a3cdb..80791a1fdb1 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -5925,12 +5925,12 @@ in a window. To make the change take effect, call `set-window-buffer'. */); | |||
| 5925 | 5925 | ||
| 5926 | DEFVAR_PER_BUFFER ("scroll-bar-width", &BVAR (current_buffer, scroll_bar_width), | 5926 | DEFVAR_PER_BUFFER ("scroll-bar-width", &BVAR (current_buffer, scroll_bar_width), |
| 5927 | Qintegerp, | 5927 | Qintegerp, |
| 5928 | doc: /* Width of this buffer's scroll bars in pixels. | 5928 | doc: /* Width of this buffer's vertical scroll bars in pixels. |
| 5929 | A value of nil means to use the scroll bar width from the window's frame. */); | 5929 | A value of nil means to use the scroll bar width from the window's frame. */); |
| 5930 | 5930 | ||
| 5931 | DEFVAR_PER_BUFFER ("scroll-bar-height", &BVAR (current_buffer, scroll_bar_height), | 5931 | DEFVAR_PER_BUFFER ("scroll-bar-height", &BVAR (current_buffer, scroll_bar_height), |
| 5932 | Qintegerp, | 5932 | Qintegerp, |
| 5933 | doc: /* Height of this buffer's scroll bars in pixels. | 5933 | doc: /* Height of this buffer's horizontal scroll bars in pixels. |
| 5934 | A value of nil means to use the scroll bar height from the window's frame. */); | 5934 | A value of nil means to use the scroll bar height from the window's frame. */); |
| 5935 | 5935 | ||
| 5936 | DEFVAR_PER_BUFFER ("vertical-scroll-bar", &BVAR (current_buffer, vertical_scroll_bar_type), | 5936 | DEFVAR_PER_BUFFER ("vertical-scroll-bar", &BVAR (current_buffer, vertical_scroll_bar_type), |