diff options
| author | Dmitry Antipov | 2012-12-13 12:04:40 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2012-12-13 12:04:40 +0400 |
| commit | 40d1e43460b2f642bf1b4255a903c8ff2311b5f6 (patch) | |
| tree | 685c228dc7638ab0b32a77097cb68d1d8e7541b5 /src/ChangeLog | |
| parent | ba30c70fa0afecc413b0bdf0bed0788c52a099d3 (diff) | |
| download | emacs-40d1e43460b2f642bf1b4255a903c8ff2311b5f6.tar.gz emacs-40d1e43460b2f642bf1b4255a903c8ff2311b5f6.zip | |
Minor redisplay optimization when the region length is zero.
* 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.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index b7bb772d266..f513e80408d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2012-12-13 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | Minor redisplay optimization when the region length is zero. | ||
| 4 | * xdisp.c (markpos_of_region): New function. | ||
| 5 | (init_iterator): Do not highlight the region of zero length. | ||
| 6 | (redisplay_window): Check whether the region is of non-zero length. | ||
| 7 | (try_cursor_movement): Allow if the region length is zero. | ||
| 8 | (try_window_reusing_current_matrix, try_window_id): Likewise. | ||
| 9 | |||
| 1 | 2012-12-13 Eli Zaretskii <eliz@gnu.org> | 10 | 2012-12-13 Eli Zaretskii <eliz@gnu.org> |
| 2 | 11 | ||
| 3 | * search.c (search_buffer): Check the inverse translations of each | 12 | * search.c (search_buffer): Check the inverse translations of each |