diff options
| author | Richard M. Stallman | 1993-03-15 05:50:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-03-15 05:50:55 +0000 |
| commit | 70728a80cb7f0cf5ce5259f5e655113e4973fd07 (patch) | |
| tree | 907113d9728815208b29eff8d812a2c0a1d19c13 | |
| parent | 2d66ad19c51cf44225d8ea6917a5db4364630a93 (diff) | |
| download | emacs-70728a80cb7f0cf5ce5259f5e655113e4973fd07.tar.gz emacs-70728a80cb7f0cf5ce5259f5e655113e4973fd07.zip | |
(Fdelete_other_windows): Handle FRAME_MENU_BAR_LINES.
| -rw-r--r-- | src/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index ab81e806aba..0f00ae64ef1 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -1283,11 +1283,11 @@ Only the frame WINDOW is on is affected.") | |||
| 1283 | w = XWINDOW (window); | 1283 | w = XWINDOW (window); |
| 1284 | top = XFASTINT (w->top); | 1284 | top = XFASTINT (w->top); |
| 1285 | 1285 | ||
| 1286 | window_loop (DELETE_OTHER_WINDOWS, window, 0, WINDOW_FRAME(w)); | 1286 | window_loop (DELETE_OTHER_WINDOWS, window, 0, WINDOW_FRAME (w)); |
| 1287 | 1287 | ||
| 1288 | Fset_buffer (w->buffer); | 1288 | Fset_buffer (w->buffer); |
| 1289 | SET_PT (marker_position (w->start)); | 1289 | SET_PT (marker_position (w->start)); |
| 1290 | Frecenter (make_number (top)); | 1290 | Frecenter (make_number (top - FRAME_MENU_BAR_LINES (XFRAME (WINDOW_FRAME (w))))); |
| 1291 | 1291 | ||
| 1292 | set_buffer_internal (obuf); | 1292 | set_buffer_internal (obuf); |
| 1293 | SET_PT (opoint); | 1293 | SET_PT (opoint); |