aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorMiles Bader2006-02-22 06:54:10 +0000
committerMiles Bader2006-02-22 06:54:10 +0000
commitb434f199dbbc2694a69538ee95e5e583f6357f71 (patch)
treeea87d2540063659d9cfdb24462bb4c0336a6ec47 /src/window.c
parent9d826e0eaf8a4e2f1cf5aac74d6b02ccc393af8d (diff)
parenta1b24e137f75b9f5fdbd5526947a70c462c5e5bf (diff)
downloademacs-b434f199dbbc2694a69538ee95e5e583f6357f71.tar.gz
emacs-b434f199dbbc2694a69538ee95e5e583f6357f71.zip
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-21
Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 97-112) - Update from CVS - Merge from erc--emacs--0 - Update from CVS: src/regex.c (extend_range_table_work_area): Fix typo. - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 37) - Update from CVS
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c
index c21e95cbef0..bd5a393b599 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2568,7 +2568,10 @@ window_min_size_1 (w, width_p)
2568 else 2568 else
2569 { 2569 {
2570 if (width_p) 2570 if (width_p)
2571 size = window_min_width; 2571 size = max (window_min_width,
2572 (MIN_SAFE_WINDOW_WIDTH
2573 + WINDOW_FRINGE_COLS (w)
2574 + WINDOW_SCROLL_BAR_COLS (w)));
2572 else 2575 else
2573 { 2576 {
2574 if (MINI_WINDOW_P (w) 2577 if (MINI_WINDOW_P (w)
@@ -4286,7 +4289,7 @@ adjust_window_trailing_edge (window, delta, horiz_flag)
4286 { 4289 {
4287 /* This may happen for the minibuffer. In that case 4290 /* This may happen for the minibuffer. In that case
4288 the window_deletion_count check below does not work. */ 4291 the window_deletion_count check below does not work. */
4289 if (XINT (CURSIZE (p->next)) - delta <= 0) 4292 if (XINT (CURSIZE (p->next)) - delta <= 0)
4290 { 4293 {
4291 Fset_window_configuration (old_config); 4294 Fset_window_configuration (old_config);
4292 error ("Cannot adjust window size as specified"); 4295 error ("Cannot adjust window size as specified");
@@ -6600,7 +6603,8 @@ this is automatically adjusted to a multiple of the frame column width.
6600Third parameter VERTICAL-TYPE specifies the type of the vertical scroll 6603Third parameter VERTICAL-TYPE specifies the type of the vertical scroll
6601bar: left, right, or nil. 6604bar: left, right, or nil.
6602If WIDTH is nil, use the frame's scroll-bar width. 6605If WIDTH is nil, use the frame's scroll-bar width.
6603If TYPE is t, use the frame's scroll-bar type. */) 6606If VERTICAL-TYPE is t, use the frame's scroll-bar type.
6607Fourth parameter HORIZONTAL-TYPE is currently unused. */)
6604 (window, width, vertical_type, horizontal_type) 6608 (window, width, vertical_type, horizontal_type)
6605 Lisp_Object window, width, vertical_type, horizontal_type; 6609 Lisp_Object window, width, vertical_type, horizontal_type;
6606{ 6610{