Mercurial > emacs
comparison src/syntax.c @ 18938:444939f3c18f
(Fforward_comment): When count1 is negative, return nil if FROM reaches STOP.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 24 Jul 1997 07:40:26 +0000 |
parents | bcc43754d3bc |
children | 2befa7396e42 |
comparison
equal
deleted
inserted
replaced
18937:ddb91108a9d2 | 18938:444939f3c18f |
---|---|
1505 count1--; | 1505 count1--; |
1506 } | 1506 } |
1507 | 1507 |
1508 while (count1 < 0) | 1508 while (count1 < 0) |
1509 { | 1509 { |
1510 while (from > stop) | 1510 while (1) |
1511 { | 1511 { |
1512 int quoted; | 1512 int quoted; |
1513 if (from <= stop) | |
1514 { | |
1515 SET_PT (stop); | |
1516 immediate_quit = 0; | |
1517 return Qnil; | |
1518 } | |
1513 | 1519 |
1514 DEC_POS (from); | 1520 DEC_POS (from); |
1515 quoted = char_quoted (from); | 1521 quoted = char_quoted (from); |
1516 if (quoted) | 1522 if (quoted) |
1517 { | 1523 { |