aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorKaroly Lorentey2006-02-20 16:30:15 +0000
committerKaroly Lorentey2006-02-20 16:30:15 +0000
commitf2aa3ae43bd451a6566f83ac5119b168d40891bc (patch)
treedaa6020fddc659be56fdc54646c2d97d7d3571f8 /src/window.c
parent322c30faa92c5ba2accc1027893a7cc24abbde72 (diff)
parent58f7100978e6647a6655a008554daf2d1bab3665 (diff)
downloademacs-f2aa3ae43bd451a6566f83ac5119b168d40891bc.tar.gz
emacs-f2aa3ae43bd451a6566f83ac5119b168d40891bc.zip
Merged from emacs@sv.gnu.org
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-91 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-92 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-93 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-94 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-95 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-96 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-97 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-98 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-99 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-100 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-101 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-102 Merge from erc--emacs--0 * emacs@sv.gnu.org/emacs--devo--0--patch-103 Update from CVS: src/regex.c (extend_range_table_work_area): Fix typo. * emacs@sv.gnu.org/emacs--devo--0--patch-104 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-30 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-31 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-32 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-33 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-34 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-35 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-36 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-514
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 58ab3ee14a0..350b4753491 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2570,7 +2570,10 @@ window_min_size_1 (w, width_p)
2570 else 2570 else
2571 { 2571 {
2572 if (width_p) 2572 if (width_p)
2573 size = window_min_width; 2573 size = max (window_min_width,
2574 (MIN_SAFE_WINDOW_WIDTH
2575 + WINDOW_FRINGE_COLS (w)
2576 + WINDOW_SCROLL_BAR_COLS (w)));
2574 else 2577 else
2575 { 2578 {
2576 if (MINI_WINDOW_P (w) 2579 if (MINI_WINDOW_P (w)
@@ -4288,7 +4291,7 @@ adjust_window_trailing_edge (window, delta, horiz_flag)
4288 { 4291 {
4289 /* This may happen for the minibuffer. In that case 4292 /* This may happen for the minibuffer. In that case
4290 the window_deletion_count check below does not work. */ 4293 the window_deletion_count check below does not work. */
4291 if (XINT (CURSIZE (p->next)) - delta <= 0) 4294 if (XINT (CURSIZE (p->next)) - delta <= 0)
4292 { 4295 {
4293 Fset_window_configuration (old_config); 4296 Fset_window_configuration (old_config);
4294 error ("Cannot adjust window size as specified"); 4297 error ("Cannot adjust window size as specified");
@@ -6602,7 +6605,8 @@ this is automatically adjusted to a multiple of the frame column width.
6602Third parameter VERTICAL-TYPE specifies the type of the vertical scroll 6605Third parameter VERTICAL-TYPE specifies the type of the vertical scroll
6603bar: left, right, or nil. 6606bar: left, right, or nil.
6604If WIDTH is nil, use the frame's scroll-bar width. 6607If WIDTH is nil, use the frame's scroll-bar width.
6605If TYPE is t, use the frame's scroll-bar type. */) 6608If VERTICAL-TYPE is t, use the frame's scroll-bar type.
6609Fourth parameter HORIZONTAL-TYPE is currently unused. */)
6606 (window, width, vertical_type, horizontal_type) 6610 (window, width, vertical_type, horizontal_type)
6607 Lisp_Object window, width, vertical_type, horizontal_type; 6611 Lisp_Object window, width, vertical_type, horizontal_type;
6608{ 6612{