emacs-pretest-bug
[Top][All Lists]
Advanced

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

Skipping a generic comment backwards


From: martin rudalics
Subject: Skipping a generic comment backwards
Date: Sun, 30 Apr 2006 11:18:24 +0200

When skipping a generic comment backwards `forward-comment' doesn't
update count1.  As a consequence (forward-comment -1) skips all generic
comments preceding point.  The trivial patch below should resolve this.

2006-04-29  Martin Rudalics  <address@hidden>

        * syntax.c (Fforward_comment): Count generic comments when
        moving backwards.

*** syntax.c    Sat Nov  5 19:46:40 2005
--- syntax.c    Sat Apr 29 23:15:24 2006
***************
*** 2140,2145 ****
--- 2140,2146 ----
                  from_byte = ini_byte;
                  goto leave;
                }
+             else break;
            }
          else if (code == Sendcomment)
            {




reply via email to

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