From: Richard M. Stallman Date: Sat, 17 Sep 1994 19:49:03 +0000 (+0000) Subject: (Fforward_comment): Do increment from, when reaching X-Git-Tag: emacs-19.34~6991 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2eb1d6a2a2bd29464f56567a9dc8d63fbfaa2ab2;p=emacs.git (Fforward_comment): Do increment from, when reaching single-char comment end going forward. --- diff --git a/src/syntax.c b/src/syntax.c index 9108f727cc4..1aba174f7bb 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -653,13 +653,13 @@ between them, return t; otherwise return nil.") return Qnil; } c = FETCH_CHAR (from); + from++; if (SYNTAX (c) == Sendcomment && SYNTAX_COMMENT_STYLE (c) == comstyle) /* we have encountered a comment end of the same style as the comment sequence which began this comment section */ break; - from++; if (from < stop && SYNTAX_COMEND_FIRST (c) && SYNTAX_COMEND_SECOND (FETCH_CHAR (from)) && SYNTAX_COMMENT_STYLE (c) == comstyle)