diff options
| author | Miles Bader | 2005-09-19 10:20:33 +0000 |
|---|---|---|
| committer | Miles Bader | 2005-09-19 10:20:33 +0000 |
| commit | 6f512f0b53ba23b88c686d27a748797add0a89dc (patch) | |
| tree | 03b4e8c24f256dc8d90330ab1021d5ac238508d2 /src/window.c | |
| parent | ff8d296438e69b8cf701d95b6ccd271c416c46fd (diff) | |
| parent | 430d3ed772627a9a23fccdeab2b868c6c41e8365 (diff) | |
| download | emacs-6f512f0b53ba23b88c686d27a748797add0a89dc.tar.gz emacs-6f512f0b53ba23b88c686d27a748797add0a89dc.zip | |
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-82
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 542-553)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 116-121)
- Merge from emacs--cvs-trunk--0
- Update from CVS
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/src/window.c b/src/window.c index 4089217825f..198edd3d6d8 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -273,7 +273,6 @@ make_window () | |||
| 273 | XSETWINDOW (val, p); | 273 | XSETWINDOW (val, p); |
| 274 | XSETFASTINT (p->last_point, 0); | 274 | XSETFASTINT (p->last_point, 0); |
| 275 | p->frozen_window_start_p = 0; | 275 | p->frozen_window_start_p = 0; |
| 276 | p->height_fixed_p = 0; | ||
| 277 | p->last_cursor_off_p = p->cursor_off_p = 0; | 276 | p->last_cursor_off_p = p->cursor_off_p = 0; |
| 278 | p->left_margin_cols = Qnil; | 277 | p->left_margin_cols = Qnil; |
| 279 | p->right_margin_cols = Qnil; | 278 | p->right_margin_cols = Qnil; |
| @@ -2438,27 +2437,22 @@ window_fixed_size_p (w, width_p, check_siblings_p) | |||
| 2438 | } | 2437 | } |
| 2439 | else if (BUFFERP (w->buffer)) | 2438 | else if (BUFFERP (w->buffer)) |
| 2440 | { | 2439 | { |
| 2441 | if (w->height_fixed_p && !width_p) | 2440 | struct buffer *old = current_buffer; |
| 2442 | fixed_p = 1; | 2441 | Lisp_Object val; |
| 2443 | else | ||
| 2444 | { | ||
| 2445 | struct buffer *old = current_buffer; | ||
| 2446 | Lisp_Object val; | ||
| 2447 | 2442 | ||
| 2448 | current_buffer = XBUFFER (w->buffer); | 2443 | current_buffer = XBUFFER (w->buffer); |
| 2449 | val = find_symbol_value (Qwindow_size_fixed); | 2444 | val = find_symbol_value (Qwindow_size_fixed); |
| 2450 | current_buffer = old; | 2445 | current_buffer = old; |
| 2451 | 2446 | ||
| 2452 | fixed_p = 0; | 2447 | fixed_p = 0; |
| 2453 | if (!EQ (val, Qunbound)) | 2448 | if (!EQ (val, Qunbound)) |
| 2454 | { | 2449 | { |
| 2455 | fixed_p = !NILP (val); | 2450 | fixed_p = !NILP (val); |
| 2456 | 2451 | ||
| 2457 | if (fixed_p | 2452 | if (fixed_p |
| 2458 | && ((EQ (val, Qheight) && width_p) | 2453 | && ((EQ (val, Qheight) && width_p) |
| 2459 | || (EQ (val, Qwidth) && !width_p))) | 2454 | || (EQ (val, Qwidth) && !width_p))) |
| 2460 | fixed_p = 0; | 2455 | fixed_p = 0; |
| 2461 | } | ||
| 2462 | } | 2456 | } |
| 2463 | 2457 | ||
| 2464 | /* Can't tell if this one is resizable without looking at | 2458 | /* Can't tell if this one is resizable without looking at |