mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 18:00:40 -08:00
(Fdelete_other_windows): Handle FRAME_MENU_BAR_LINES.
This commit is contained in:
parent
2d66ad19c5
commit
70728a80cb
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue