Refactor getting the first element into a separate function.
commit1ace72676cb6749c45c5dd6462457fc2cea2988c
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 Jun 2011 11:14:51 +0000 (18 14:14 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Jun 2011 11:14:51 +0000 (18 14:14 +0300)
treeb5108765156806efaccf8e5a523951361f480250
parent4d3a8bb4de2958ba1f5b004da0307b89df4068eb
Refactor getting the first element into a separate function.

 src/xdisp.c (get_visually_first_element): New function, refactored
 from common parts of next_element_from_buffer, next_element_from_string,
 and next_element_from_c_string.
src/ChangeLog
src/xdisp.c