diff options
author | Martin Rudalics <rudalics@gmx.at> | 2014-09-03 17:10:29 +0200 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2014-09-03 17:10:29 +0200 |
commit | 568df136f13451a098d166918b9602cf8dedf976 (patch) | |
tree | d9870a3b614c9f10d2f626e7481c796b750f171b /src/xfns.c | |
parent | 62fca47221fc9d248511cd94fbcb41ddb46763e6 (diff) | |
download | emacs-568df136f13451a098d166918b9602cf8dedf976.tar.gz |
Clean up initialization and customization of horizontal scroll bars.
* frame.el (frame-initialize): Remove horizontal-scroll-bars
from frame-initial-frame-alist.
* scroll-bar.el (previous-horizontal-scroll-bar-mode)
(horizontal-scroll-bar-mode-explicit)
(set-horizontal-scroll-bar-mode, get-horizontal-scroll-bar-mode)
(toggle-horizontal-scroll-bar): Remove.
(horizontal-scroll-bar-mode): Remove defcustom.
(horizontal-scroll-bar-mode): Fix doc-string.
(scroll-bar-toolkit-scroll)
(scroll-bar-toolkit-horizontal-scroll): Add doc-strings stubs.
* buffer.c (scroll-bar-height): Fix typo in doc-string.
* frame.c (Vdefault_frame_horizontal_scroll_bars): Remove
variable.
* nsfns.m (Fx_create_frame):
* w32fns.c (Fx_create_frame):
* xfns.c (Fx_create_frame): Default horizontal scroll bars to
nil.
Diffstat (limited to 'src/xfns.c')
-rw-r--r-- | src/xfns.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/xfns.c b/src/xfns.c index 0c07d6cb03d..ec915a69f80 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -3112,15 +3112,9 @@ This function is an internal primitive--use `make-frame' instead. */) #endif "verticalScrollBars", "ScrollBars", RES_TYPE_SYMBOL); - x_default_parameter (f, parms, Qhorizontal_scroll_bars, -#if defined (USE_GTK) && defined (USE_TOOLKIT_SCROLL_BARS) - Qt, -#else - Qnil, -#endif + x_default_parameter (f, parms, Qhorizontal_scroll_bars, Qnil, "horizontalScrollBars", "ScrollBars", RES_TYPE_SYMBOL); - /* Also do the stuff which must be set before the window exists. */ x_default_parameter (f, parms, Qforeground_color, build_string ("black"), "foreground", "Foreground", RES_TYPE_STRING); |