Add documentation for horizontal scroll bars and fix some minor issues.
commit3c6ba8b49bb87ada8a8cca6566ad0b6e3fc4e57d
authorMartin Rudalics <rudalics@gmx.at>
Sat, 4 Oct 2014 08:20:24 +0000 (4 10:20 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 4 Oct 2014 08:20:24 +0000 (4 10:20 +0200)
treea47c285b071a0821573b19970cb80e1ea7150cc3
parentcebc89eea10104af6a871b8ee78fb60d6c597898
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.
15 files changed:
doc/emacs/ChangeLog
doc/emacs/frames.texi
doc/lispref/ChangeLog
doc/lispref/display.texi
doc/lispref/elisp.texi
doc/lispref/frames.texi
doc/lispref/windows.texi
etc/NEWS
lisp/ChangeLog
lisp/frame.el
lisp/scroll-bar.el
lisp/window.el
src/ChangeLog
src/buffer.c
src/window.c