comparison src/window.c @ 2190:482c7827b968

(Fdelete_other_windows): Handle FRAME_MENU_BAR_LINES.
author Richard M. Stallman <rms@gnu.org>
date Mon, 15 Mar 1993 05:50:55 +0000
parents 73ce9dd21093
children 22d78dbb3cc7
comparison
equal deleted inserted replaced
2189:cb92d253a599 2190:482c7827b968
1281 CHECK_LIVE_WINDOW (window, 0); 1281 CHECK_LIVE_WINDOW (window, 0);
1282 1282
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);
1294 return Qnil; 1294 return Qnil;
1295 } 1295 }