diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-10-04 17:41:10 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-10-04 17:41:10 +0400 |
commit | 942f6f82c991254317f1fe109e3072350d6986d6 (patch) | |
tree | 6bfee6b000d01d8c522ea3099760d3a2458fa12a /src/xdisp.c | |
parent | 9e6229fabeb9aa77e437ab3ce69da78f432ff3de (diff) | |
download | emacs-942f6f82c991254317f1fe109e3072350d6986d6.tar.gz |
* xdisp.c (redisplay_internal): Simplify because scan_for_column now
uses find_newline instead of scan_newline and so doesn't move point.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r-- | src/xdisp.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 02f775bfbfb..50bf30700be 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -13067,8 +13067,6 @@ redisplay_internal (void) match_p = XBUFFER (w->contents) == current_buffer; if (match_p) { - ptrdiff_t count1; - /* Detect case that we need to write or remove a star in the mode line. */ if ((SAVE_MODIFF < MODIFF) != w->last_had_star) { @@ -13077,14 +13075,8 @@ redisplay_internal (void) update_mode_lines++; } - /* Avoid invocation of point motion hooks by `current_column' below. */ - count1 = SPECPDL_INDEX (); - specbind (Qinhibit_point_motion_hooks, Qt); - if (mode_line_update_needed (w)) w->update_mode_line = 1; - - unbind_to (count1, Qnil); } consider_all_windows_p = (update_mode_lines |