Commit 70728a80 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fdelete_other_windows): Handle FRAME_MENU_BAR_LINES.

parent 2d66ad19
......@@ -1283,11 +1283,11 @@ Only the frame WINDOW is on is affected.")
w = XWINDOW (window);
top = XFASTINT (w->top);
window_loop (DELETE_OTHER_WINDOWS, window, 0, WINDOW_FRAME(w));
window_loop (DELETE_OTHER_WINDOWS, window, 0, WINDOW_FRAME (w));
Fset_buffer (w->buffer);
SET_PT (marker_position (w->start));
Frecenter (make_number (top));
Frecenter (make_number (top - FRAME_MENU_BAR_LINES (XFRAME (WINDOW_FRAME (w)))));
set_buffer_internal (obuf);
SET_PT (opoint);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment