summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-10-15 05:07:42 +0000
committerRichard M. Stallman <rms@gnu.org>1992-10-15 05:07:42 +0000
commit5bfe95c936ee7b3ceb823aad44157034c56e9a6c (patch)
tree4fa3d1008d646308b5333143b6ff4d1dc2bd792a
parente0b634930e6e2876a8f4d2449084ee477cc93a51 (diff)
downloademacs-5bfe95c936ee7b3ceb823aad44157034c56e9a6c.tar.gz
Comment fix.
-rw-r--r--src/search.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 83ddaeba143..22e3329551f 100644
--- a/src/search.c
+++ b/src/search.c
@@ -251,7 +251,8 @@ fast_string_match (regexp, string)
If COUNT is negative, search backwards.
If we find COUNT instances, set *SHORTAGE to zero, and return the
- position of the COUNTth character.
+ position after the COUNTth match. Note that for reverse motion
+ this is not the same as the usual convention for Emacs motion commands.
If we don't find COUNT instances before reaching the end of the
buffer (or the beginning, if scanning backwards), set *SHORTAGE to