Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
32bd4250
Commit
32bd4250
authored
Aug 19, 2012
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xdisp.c (handle_invisible_prop): Make it a bit faster
and avoid a gcc -Wmaybe-uninitialized diagnostic.
parent
7cef3569
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
src/ChangeLog
src/ChangeLog
+5
-0
src/xdisp.c
src/xdisp.c
+3
-3
No files found.
src/ChangeLog
View file @
32bd4250
2012-08-19 Paul Eggert <eggert@cs.ucla.edu>
* xdisp.c (handle_invisible_prop): Make it a bit faster
and avoid a gcc -Wmaybe-uninitialized diagnostic.
2012-08-19 Chong Yidong <cyd@gnu.org>
* xdisp.c (handle_invisible_prop): Fix ellipses at overlay string
...
...
src/xdisp.c
View file @
32bd4250
...
...
@@ -4094,7 +4094,7 @@ handle_invisible_prop (struct it *it)
/* Get the position at which the next visible text can be
found in IT->string, if any. */
len = SCHARS (it->string);
endpos =
len = SCHARS (it->string);
XSETINT (limit, len);
do
{
...
...
@@ -4109,12 +4109,12 @@ handle_invisible_prop (struct it *it)
display_ellipsis_p = 1;
}
}
while (invis_p &&
INTEGERP (end_charpos) &&
endpos < len);
while (invis_p && endpos < len);
if (display_ellipsis_p)
it->ellipsis_p = 1;
if (
INTEGERP (end_charpos) &&
endpos < len)
if (endpos < len)
{
/* Text at END_CHARPOS is visible. Move IT there. */
struct text_pos old;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment