aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2017-12-22 13:23:16 -0500
committerGlenn Morris2017-12-22 13:23:16 -0500
commit3404a87f29b28b449a2e6188f075df2f761caac5 (patch)
tree56816f744b5c74273803811d62c9b61ba2334aa3 /src
parent5ee4f2fa8792ebaa84184f1a82219fbcd93e8103 (diff)
parent34fcfc5c049bb99d68945bb24fb9d6a0789a33dd (diff)
downloademacs-3404a87f29b28b449a2e6188f075df2f761caac5.tar.gz
emacs-3404a87f29b28b449a2e6188f075df2f761caac5.zip
Merge from origin/emacs-26
34fcfc5 (origin/emacs-26, emacs-26) * lisp/emacs-lisp/inline.el (defi... f7a62c2 Fix doc string of 'footnote-style-alist' c3b6742 Improve documentation of selecting windows 861d110 Improve documentation of records 22b3075 * etc/NEWS: Mention the removal of pinentry.el. (Bug#27445) 689526b Fix interactive spec of 'semantic-ia-show-variants' 90ca37f Fix documentation of 'mouse-drag-and-drop-region' and friends d60faf3 Improve detection of speller version in ispell.el a0e3b06 Document 'mouse-drag-and-drop-region' options and mention the... 164e84c Fix uses of 'nil' and 'non-nil' in manuals and a few more min... 798f07f Document that mode commands should be idempotent. ad2a47c ; * src/xdisp.c (extend_face_to_end_of_line): Fix last change. 88ddf53 Fontify a CPP construct correctly when a comment follows with... de7de9c Prevent infloop in redisplay on TTY frames 293720e Fix loss of documentation face in certain CC Mode doc comment... # Conflicts: # etc/NEWS # lisp/mail/footnote.el
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index efc47b39e60..7d13338e25a 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -20274,12 +20274,14 @@ extend_face_to_end_of_line (struct it *it)
20274 it->area = LEFT_MARGIN_AREA; 20274 it->area = LEFT_MARGIN_AREA;
20275 it->face_id = default_face->id; 20275 it->face_id = default_face->id;
20276 while (it->glyph_row->used[LEFT_MARGIN_AREA] 20276 while (it->glyph_row->used[LEFT_MARGIN_AREA]
20277 < WINDOW_LEFT_MARGIN_WIDTH (it->w)) 20277 < WINDOW_LEFT_MARGIN_WIDTH (it->w)
20278 && g < it->glyph_row->glyphs[TEXT_AREA])
20278 { 20279 {
20279 PRODUCE_GLYPHS (it); 20280 PRODUCE_GLYPHS (it);
20280 /* term.c:produce_glyphs advances it->current_x only for 20281 /* term.c:produce_glyphs advances it->current_x only for
20281 TEXT_AREA. */ 20282 TEXT_AREA. */
20282 it->current_x += it->pixel_width; 20283 it->current_x += it->pixel_width;
20284 g++;
20283 } 20285 }
20284 20286
20285 it->current_x = saved_x; 20287 it->current_x = saved_x;
@@ -20313,10 +20315,12 @@ extend_face_to_end_of_line (struct it *it)
20313 it->area = RIGHT_MARGIN_AREA; 20315 it->area = RIGHT_MARGIN_AREA;
20314 it->face_id = default_face->id; 20316 it->face_id = default_face->id;
20315 while (it->glyph_row->used[RIGHT_MARGIN_AREA] 20317 while (it->glyph_row->used[RIGHT_MARGIN_AREA]
20316 < WINDOW_RIGHT_MARGIN_WIDTH (it->w)) 20318 < WINDOW_RIGHT_MARGIN_WIDTH (it->w)
20319 && g < it->glyph_row->glyphs[LAST_AREA])
20317 { 20320 {
20318 PRODUCE_GLYPHS (it); 20321 PRODUCE_GLYPHS (it);
20319 it->current_x += it->pixel_width; 20322 it->current_x += it->pixel_width;
20323 g++;
20320 } 20324 }
20321 20325
20322 it->area = TEXT_AREA; 20326 it->area = TEXT_AREA;