diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-01-19 16:18:41 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-06-02 12:08:48 +0300 |
commit | ddd1b957e9406a4185e5a43ad3933b4e734d58f1 (patch) | |
tree | a915cd6c2f69d7517c2615e91ea26e7afe10f043 /lisp/emacs-lisp/check-declare.el | |
parent | af82d1f4bd3c01786516c0d32cec4dc77a235778 (diff) | |
download | emacs-ddd1b957e9406a4185e5a43ad3933b4e734d58f1.tar.gz emacs-ddd1b957e9406a4185e5a43ad3933b4e734d58f1.tar.bz2 emacs-ddd1b957e9406a4185e5a43ad3933b4e734d58f1.zip |
Fix posn-at-point in Flycheck buffers
* src/dispnew.c (buffer_posn_from_coords): Improve commentary.
* src/xdisp.c (move_it_in_display_line_to): Don't exit the loop
under truncate-lines if the glyph at TO_CHARPOS was not yet
produced. This avoids bailing out too early when we are at
TO_CHARPOS, but didn't yet produce glyphs for that buffer
position, because the last call to PRODUCE_GLYPHS at this position
was for an object other than the buffer. For further details, see
http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00537.html.
(cherry picked from commit c0154ac7c3423f68d8f3a2e85a756c9759219039)
Diffstat (limited to 'lisp/emacs-lisp/check-declare.el')
0 files changed, 0 insertions, 0 deletions