• Dmitry Antipov's avatar
    Minor redisplay optimization when the region length is zero. · 40d1e434
    Dmitry Antipov authored
    * xdisp.c (markpos_of_region): New function.
    (init_iterator): Do not highlight the region of zero length.
    (redisplay_window): Check whether the region is of non-zero length.
    (try_cursor_movement): Allow if the region length is zero.
    (try_window_reusing_current_matrix, try_window_id): Likewise.
    40d1e434
ChangeLog 818 KB