HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b14dda8
)
(Fforward_comment): When count1 is negative, return nil if FROM reaches STOP.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 24 Jul 1997 07:40:26 +0000
(07:40 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 24 Jul 1997 07:40:26 +0000
(07:40 +0000)
src/syntax.c
patch
|
blob
|
blame
|
history
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);