]> git.eshelyaron.com Git - emacs.git/commit
Modify face_at_pos to not modify change IT.
authorJimmy Aguilar Mena <spacibba@aol.com>
Sun, 13 Oct 2019 14:56:50 +0000 (16:56 +0200)
committerJimmy Aguilar Mena <spacibba@aol.com>
Mon, 14 Oct 2019 12:18:42 +0000 (14:18 +0200)
commit501846c85932f1c11405f0a1748b884074a76004
tree6744cd3205a394ee957b06a2db973096b8730a23
parentcc47cd4202aa474cf83d6fc42d959460d3cf823f
Modify face_at_pos to not modify change IT.

src/xdisp.c (face_at_pos): Removed code to that modified
it->start_of_box_run_p and it->face_box_p.  This function should not
modify it.
(handle_face_prop): Added code to update it->start_of_box_run_p and
it->face_box_p.
(underlying_face_id): Input IT made CONST.
src/xdisp.c