Mercurial > emacs
comparison src/window.c @ 68971:f8b092ff513c
(Fset_window_scroll_bars): Doc fix.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 17 Feb 2006 15:02:30 +0000 |
parents | fb5a31085a6f |
children | 5d68b6ede0d1 |
comparison
equal
deleted
inserted
replaced
68970:eacb238be92f | 68971:f8b092ff513c |
---|---|
4284 { | 4284 { |
4285 if (!NILP (XWINDOW (window)->next)) | 4285 if (!NILP (XWINDOW (window)->next)) |
4286 { | 4286 { |
4287 /* This may happen for the minibuffer. In that case | 4287 /* This may happen for the minibuffer. In that case |
4288 the window_deletion_count check below does not work. */ | 4288 the window_deletion_count check below does not work. */ |
4289 if (XINT (CURSIZE (p->next)) - delta <= 0) | 4289 if (XINT (CURSIZE (p->next)) - delta <= 0) |
4290 { | 4290 { |
4291 Fset_window_configuration (old_config); | 4291 Fset_window_configuration (old_config); |
4292 error ("Cannot adjust window size as specified"); | 4292 error ("Cannot adjust window size as specified"); |
4293 } | 4293 } |
4294 | 4294 |
6598 Second parameter WIDTH specifies the pixel width for the scroll bar; | 6598 Second parameter WIDTH specifies the pixel width for the scroll bar; |
6599 this is automatically adjusted to a multiple of the frame column width. | 6599 this is automatically adjusted to a multiple of the frame column width. |
6600 Third parameter VERTICAL-TYPE specifies the type of the vertical scroll | 6600 Third parameter VERTICAL-TYPE specifies the type of the vertical scroll |
6601 bar: left, right, or nil. | 6601 bar: left, right, or nil. |
6602 If WIDTH is nil, use the frame's scroll-bar width. | 6602 If WIDTH is nil, use the frame's scroll-bar width. |
6603 If TYPE is t, use the frame's scroll-bar type. */) | 6603 If VERTICAL-TYPE is t, use the frame's scroll-bar type. |
6604 Fourth parameter HORIZONTAL-TYPE is currently unused. */) | |
6604 (window, width, vertical_type, horizontal_type) | 6605 (window, width, vertical_type, horizontal_type) |
6605 Lisp_Object window, width, vertical_type, horizontal_type; | 6606 Lisp_Object window, width, vertical_type, horizontal_type; |
6606 { | 6607 { |
6607 struct window *w = decode_window (window); | 6608 struct window *w = decode_window (window); |
6608 | 6609 |