aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2014-09-09 18:04:35 +0300
committerEli Zaretskii2014-09-09 18:04:35 +0300
commit1acb1beff16b4df3512f0fe59850ed4541d038c3 (patch)
tree043517952a10b7f5eaf61f1d038f4a444b87d917 /src/ChangeLog
parentda604136b92764f159442496a9b18cb48204787e (diff)
downloademacs-1acb1beff16b4df3512f0fe59850ed4541d038c3.tar.gz
emacs-1acb1beff16b4df3512f0fe59850ed4541d038c3.zip
Fix the row number mistakenly reported by pos_visible_p in rare cases.
src/xdisp.c (pos_visible_p): Properly save and restore the iterator state around the call to line_bottom, since it can move the iterator to another screen line. This fixes off-by-one errors in the reported row in some rare cases.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e834a2cc161..274817d8262 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12014-09-09 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (pos_visible_p): Properly save and restore the iterator
4 state around the call to line_bottom, since it can move the
5 iterator to another screen line. This fixes off-by-one errors in
6 the reported row in some rare cases.
7
12014-09-07 Eli Zaretskii <eliz@gnu.org> 82014-09-07 Eli Zaretskii <eliz@gnu.org>
2 9
3 * dispnew.c (prepare_desired_row): When MODE_LINE_P is zero, 10 * dispnew.c (prepare_desired_row): When MODE_LINE_P is zero,