projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a866674
)
Avoid infloop in 'recenter'
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 25 Jul 2022 18:59:55 +0000
(21:59 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 25 Jul 2022 18:59:55 +0000
(21:59 +0300)
* src/window.c (Frecenter): Avoid infinite loop in the minibuffer
under 'fido-vertical-mode'. (Bug#56765)
src/window.c
patch
|
blob
|
history
diff --git
a/src/window.c
b/src/window.c
index 0cf6373e0b074cbb0c728715d36e3a2056b3a11d..2576b66a181a3c82568117fa162dc87e059f0316 100644
(file)
--- a/
src/window.c
+++ b/
src/window.c
@@
-6631,7
+6631,7
@@
and redisplay normally--don't erase and redraw the frame. */)
considered to be part of the visible height of the line.
*/
h += extra_line_spacing;
- while (-it.current_y > h)
+ while (-it.current_y > h
&& it.what != IT_EOB
)
move_it_by_lines (&it, 1);
charpos = IT_CHARPOS (it);