aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorMiles Bader2006-02-11 00:11:19 +0000
committerMiles Bader2006-02-11 00:11:19 +0000
commit0b125475295ac24db12b28e67d349a0ec0020bd3 (patch)
tree100578c3b6eb01151eb5c51f0bbe11ca941bd0d5 /src/window.c
parent380874900ca183ec2fdce91949d841328852d7a8 (diff)
parent9d64cd1339707277e541b6c54f847240464f65ec (diff)
downloademacs-0b125475295ac24db12b28e67d349a0ec0020bd3.tar.gz
emacs-0b125475295ac24db12b28e67d349a0ec0020bd3.zip
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-14
Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 58-65) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 22-28) - Update from CVS - Merge from emacs--devo--0 - Update from CVS: lisp/gnus.el: Remove bogus comment.
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index f71d26f6d50..c21e95cbef0 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4284,6 +4284,14 @@ adjust_window_trailing_edge (window, delta, horiz_flag)
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
4288 the window_deletion_count check below does not work. */
4289 if (XINT (CURSIZE (p->next)) - delta <= 0)
4290 {
4291 Fset_window_configuration (old_config);
4292 error ("Cannot adjust window size as specified");
4293 }
4294
4287 XSETINT (CURBEG (p->next), 4295 XSETINT (CURBEG (p->next),
4288 XINT (CURBEG (p->next)) + delta); 4296 XINT (CURBEG (p->next)) + delta);
4289 size_window (p->next, XINT (CURSIZE (p->next)) - delta, 4297 size_window (p->next, XINT (CURSIZE (p->next)) - delta,