Mercurial > emacs
changeset 11213:d0811ba886f8
(Flooking_at, Fposix_looking_at): Change arg name.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 06 Apr 1995 05:18:35 +0000 |
parents | db8f78f3f9a9 |
children | b880572ce431 |
files | src/search.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c Thu Apr 06 04:33:59 1995 +0000 +++ b/src/search.c Thu Apr 06 05:18:35 1995 +0000 @@ -255,26 +255,26 @@ } 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