mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-27 07:41:28 -08:00
(Fforward_comment): Do increment from, when reaching
single-char comment end going forward.
This commit is contained in:
parent
f015160841
commit
2eb1d6a2a2
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue