emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src indent.c


From: Chong Yidong
Subject: [Emacs-diffs] emacs/src indent.c
Date: Thu, 19 Mar 2009 02:58:21 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      09/03/19 02:58:21

Modified files:
        src            : indent.c 

Log message:
        (Fvertical_motion): Undo 2005-01-19 change (Bug#2694).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/indent.c?cvsroot=emacs&r1=1.220&r2=1.221

Patches:
Index: indent.c
===================================================================
RCS file: /sources/emacs/emacs/src/indent.c,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -b -r1.220 -r1.221
--- indent.c    8 Jan 2009 03:15:43 -0000       1.220
+++ indent.c    19 Mar 2009 02:58:21 -0000      1.221
@@ -2094,14 +2094,11 @@
       reseat_at_previous_visible_line_start (&it);
       it.current_x = it.hpos = 0;
       if (IT_CHARPOS (it) != PT)
-       {
-         int oselective = it.selective;
-         /* Temporarily disable selective display so we don't move
-            too far */
-         it.selective = 0;
+       /* We used to temporarily disable selective display here; the
+          comment said this is "so we don't move too far" (2005-01-19
+          checkin by kfs).  But this does nothing useful that I can
+          tell, and it causes Bug#2694 .  -- cyd */
          move_it_to (&it, PT, -1, -1, -1, MOVE_TO_POS);
-         it.selective = oselective;
-       }
 
       if (XINT (lines) <= 0)
        {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]