[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r114520: * xdisp.c (redisplay_internal): Simplify be
From: |
Dmitry Antipov |
Subject: |
[Emacs-diffs] trunk r114520: * xdisp.c (redisplay_internal): Simplify because scan_for_column now |
Date: |
Fri, 04 Oct 2013 13:42:56 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 114520
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Fri 2013-10-04 17:41:10 +0400
message:
* xdisp.c (redisplay_internal): Simplify because scan_for_column now
uses find_newline instead of scan_newline and so doesn't move point.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/xdisp.c xdisp.c-20091113204419-o5vbwnq5f7feedwu-240
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-10-04 07:36:22 +0000
+++ b/src/ChangeLog 2013-10-04 13:41:10 +0000
@@ -1,3 +1,8 @@
+2013-10-04 Dmitry Antipov <address@hidden>
+
+ * xdisp.c (redisplay_internal): Simplify because scan_for_column now
+ uses find_newline instead of scan_newline and so doesn't move point.
+
2013-10-04 Paul Eggert <address@hidden>
Use hardware support for byteswapping on glibc x86 etc.
=== modified file 'src/xdisp.c'
--- a/src/xdisp.c 2013-10-03 13:55:28 +0000
+++ b/src/xdisp.c 2013-10-04 13:41:10 +0000
@@ -13067,8 +13067,6 @@
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 @@
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r114520: * xdisp.c (redisplay_internal): Simplify because scan_for_column now,
Dmitry Antipov <=