mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 11:21:04 -08:00
(resize_mini_window): Don't report changed window
height if it actually hasn't changed.
This commit is contained in:
parent
ccce60568f
commit
d2c48e866a
1 changed files with 2 additions and 1 deletions
|
|
@ -5507,13 +5507,14 @@ resize_mini_window (w, exact_p)
|
|||
|| BEGV == ZV)
|
||||
{
|
||||
Lisp_Object old_selected_window;
|
||||
int old_height = XFASTINT (w->height);
|
||||
|
||||
freeze_window_starts (f, height > XFASTINT (w->height));
|
||||
old_selected_window = selected_window;
|
||||
XSETWINDOW (selected_window, w);
|
||||
change_window_height (height - XFASTINT (w->height), 0);
|
||||
selected_window = old_selected_window;
|
||||
window_height_changed_p = 1;
|
||||
window_height_changed_p = XFASTINT (w->height) != old_height;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue