diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-04-06 05:18:35 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-04-06 05:18:35 +0000 |
commit | d1d6fe1ae6997849ffabd6443e1cba8b7a464488 (patch) | |
tree | 961d6612a1627327265417f05906eb4273fca066 /src/search.c | |
parent | f19a27233ae958513361e4c5eb9cc7cd91f8505d (diff) | |
download | emacs-d1d6fe1ae6997849ffabd6443e1cba8b7a464488.tar.gz |
(Flooking_at, Fposix_looking_at): Change arg name.
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/search.c b/src/search.c index d3ac9140e05..9703e320ab3 100644 --- a/src/search.c +++ b/src/search.c @@ -255,26 +255,26 @@ looking_at_1 (string, posix) } DEFUN ("looking-at", Flooking_at, Slooking_at, 1, 1, 0, - "Return t if text after point matches regular expression PAT.\n\ + "Return t if text after point matches regular expression REGEXP.\n\ This function modifies the match data that `match-beginning',\n\ `match-end' and `match-data' access; save and restore the match\n\ data if you want to preserve them.") - (string) - Lisp_Object string; + (regexp) + Lisp_Object regexp; { - return looking_at_1 (string, 0); + return looking_at_1 (regexp, 0); } DEFUN ("posix-looking-at", Fposix_looking_at, Sposix_looking_at, 1, 1, 0, - "Return t if text after point matches regular expression PAT.\n\ + "Return t if text after point matches regular expression REGEXP.\n\ Find the longest match, in accord with Posix regular expression rules.\n\ This function modifies the match data that `match-beginning',\n\ `match-end' and `match-data' access; save and restore the match\n\ data if you want to preserve them.") - (string) - Lisp_Object string; + (regexp) + Lisp_Object regexp; { - return looking_at_1 (string, 1); + return looking_at_1 (regexp, 1); } static Lisp_Object |