HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(Fforward_comment): When count1 is negative, return nil if FROM reaches STOP.
[bpt/emacs.git]
/
src
/
syntax.c
diff --git
a/src/syntax.c
b/src/syntax.c
index
df89836
..
371dded
100644
(file)
--- a/
src/syntax.c
+++ b/
src/syntax.c
@@
-1507,9
+1507,15
@@
between them, return t; otherwise return nil.")
while (count1 < 0)
{
- while (
from > stop
)
+ while (
1
)
{
int quoted;
+ if (from <= stop)
+ {
+ SET_PT (stop);
+ immediate_quit = 0;
+ return Qnil;
+ }
DEC_POS (from);
quoted = char_quoted (from);