mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 05:01:02 -08:00
(pos_visible_p): Adjust X value if window is hscrolled.
This commit is contained in:
parent
fbe13428a8
commit
69036b87bb
1 changed files with 3 additions and 0 deletions
|
|
@ -1347,6 +1347,9 @@ pos_visible_p (w, charpos, x, y, rtop, rbot, exact_mode_line_heights_p)
|
|||
|
||||
current_header_line_height = current_mode_line_height = -1;
|
||||
|
||||
if (visible_p && w->hscroll > 0)
|
||||
*x -= w->hscroll;
|
||||
|
||||
return visible_p;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue