Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2f1c6384
Commit
2f1c6384
authored
Jan 09, 2010
by
Chong Yidong
Browse files
* xdisp.c (pos_visible_p): Check for invisible text at the correct pos (Bug#4040).
parent
d427a9fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/xdisp.c
src/xdisp.c
+2
-2
No files found.
src/ChangeLog
View file @
2f1c6384
2010-01-09 Chong Yidong <cyd@stupidchicken.com>
* xdisp.c (pos_visible_p): Check for invisible text at the correct
position (Bug#4040).
2010-01-09 Eli Zaretskii <eliz@gnu.org>
* editfns.c (Ffloat_time): Doc fix.
...
...
src/xdisp.c
View file @
2f1c6384
...
...
@@ -1363,7 +1363,7 @@ pos_visible_p (w, charpos, x, y, rtop, rbot, rowh, vpos)
int top_x = it.current_x;
int top_y = it.current_y;
enum it_method it_method = it.method;
/* Calling line_bottom_y may change it.method. */
/* Calling line_bottom_y may change it.method
, it.position, etc
. */
int bottom_y = (last_height = 0, line_bottom_y (&it));
int window_top_y = WINDOW_HEADER_LINE_HEIGHT (w);
...
...
@@ -1378,7 +1378,7 @@ pos_visible_p (w, charpos, x, y, rtop, rbot, rowh, vpos)
Lisp_Object window, prop;
XSETWINDOW (window, w);
prop = Fget_char_property (make_number (
it.position.
charpos),
prop = Fget_char_property (make_number (charpos),
Qinvisible, window);
/* If charpos coincides with invisible text covered with an
...
...
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