* window.h (struct window): Convert scroll_bar_width
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 14 Aug 2013 04:07:14 +0000 (08:07 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 14 Aug 2013 04:07:14 +0000 (08:07 +0400)
commit38a2c91021a5d5405438ba291b60f7ccdaa99862
tree3d5a8faf87763e8ccc3389881284a23c85da7cbd
parentaf79c3cb0b5ac53484ffc8a39894d475527a2e8a
* window.h (struct window): Convert scroll_bar_width
from Lisp_Object to integer.  Adjust comment.
(WINDOW_CONFIG_SCROLL_BAR_WIDTH, WINDOW_CONFIG_SCROLL_BAR_COLS):
Adjust users.
* window.c (wset_scroll_bar_width): Remove.
(make_window): Initialize scroll_bar_width.
(Fsplit_window_internal): Use direct assignment.
(Fset_window_configuration, save_window_save):
Convert Lisp_Object to integer and back where appropriate.
(Fset_window_scroll_bars): Adjust user.  Return t if any scroll
bar was actually changed, and mention this in docstring.
src/ChangeLog
src/window.c
src/window.h