Fix bug #11367 with assertion violation during vertical motion in egg.el.
commit2fa85638a036673b63055a86c6bd5b7b789a9d9d
authorEli Zaretskii <eliz@gnu.org>
Sun, 29 Apr 2012 17:19:08 +0000 (29 20:19 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 29 Apr 2012 17:19:08 +0000 (29 20:19 +0300)
tree1558ddc16ae01dfa59773ad699463de173526fe6
parent5a5fd9f33aee06409dfe2feaadaff6bc14f71f58
Fix bug #11367 with assertion violation during vertical motion in egg.el.

 src/xdisp.c (pos_visible_p): If already at a newline from the
 display string before the 'while' loop, don't walk back the glyphs
 from it3.glyph_row.  Solves assertion violation when the display
 string begins with a newline (egg.el).
src/ChangeLog
src/xdisp.c