summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/search.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 46ff1ec7e77..886f93f41c0 100644
--- a/src/search.c
+++ b/src/search.c
@@ -111,7 +111,11 @@ signal_failure (arg)
}
DEFUN ("looking-at", Flooking_at, Slooking_at, 1, 1, 0,
- "Return t if text after point matches regular expression PAT.")
+ "Return t if text after point matches regular expression PAT.
+This function modifies the match data that `match-beginning',
+`match-end' and `match-data' access; save and restore the match
+data if you want to preserve them.")
+")
(string)
Lisp_Object string;
{