diff options
| author | Richard M. Stallman | 1993-05-25 18:45:25 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-05-25 18:45:25 +0000 |
| commit | 5d3bffd4599fc4e6ebb76c9ae8e413d02fcbeec0 (patch) | |
| tree | ecab6449f38bc2f66a1d19a438241898c0f748e7 /src/syntax.c | |
| parent | 97a983f472dfdb6c5600aa48f0aad80a5a77fd72 (diff) | |
| download | emacs-5d3bffd4599fc4e6ebb76c9ae8e413d02fcbeec0.tar.gz emacs-5d3bffd4599fc4e6ebb76c9ae8e413d02fcbeec0.zip | |
(Fforward_comment): Always set point.
Diffstat (limited to 'src/syntax.c')
| -rw-r--r-- | src/syntax.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c index 9dcb8c23f94..fb584021485 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -612,6 +612,7 @@ between them, return t; otherwise return nil.") | |||
| 612 | if (from == stop) | 612 | if (from == stop) |
| 613 | { | 613 | { |
| 614 | immediate_quit = 0; | 614 | immediate_quit = 0; |
| 615 | SET_PT (from); | ||
| 615 | return Qnil; | 616 | return Qnil; |
| 616 | } | 617 | } |
| 617 | c = FETCH_CHAR (from); | 618 | c = FETCH_CHAR (from); |
| @@ -636,6 +637,7 @@ between them, return t; otherwise return nil.") | |||
| 636 | else if (code != Swhitespace) | 637 | else if (code != Swhitespace) |
| 637 | { | 638 | { |
| 638 | immediate_quit = 0; | 639 | immediate_quit = 0; |
| 640 | SET_PT (from); | ||
| 639 | return Qnil; | 641 | return Qnil; |
| 640 | } | 642 | } |
| 641 | } | 643 | } |
| @@ -685,6 +687,7 @@ between them, return t; otherwise return nil.") | |||
| 685 | if (from == stop) | 687 | if (from == stop) |
| 686 | { | 688 | { |
| 687 | immediate_quit = 0; | 689 | immediate_quit = 0; |
| 690 | SET_PT (from); | ||
| 688 | return Qnil; | 691 | return Qnil; |
| 689 | } | 692 | } |
| 690 | from--; | 693 | from--; |
| @@ -808,6 +811,7 @@ between them, return t; otherwise return nil.") | |||
| 808 | else if (code != Swhitespace || quoted) | 811 | else if (code != Swhitespace || quoted) |
| 809 | { | 812 | { |
| 810 | immediate_quit = 0; | 813 | immediate_quit = 0; |
| 814 | SET_PT (from); | ||
| 811 | return Qnil; | 815 | return Qnil; |
| 812 | } | 816 | } |
| 813 | } | 817 | } |