aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-04-06 05:18:35 +0000
committerRichard M. Stallman1995-04-06 05:18:35 +0000
commit94f949720320da01fd4a04bc74f0fb1bfabc9600 (patch)
treed6ea24abaa40032b9c55608a452f45df45d6dc03
parent39b71e3947ff147afc9c9bff35da81905c0cd69e (diff)
downloademacs-94f949720320da01fd4a04bc74f0fb1bfabc9600.tar.gz
emacs-94f949720320da01fd4a04bc74f0fb1bfabc9600.zip
(Flooking_at, Fposix_looking_at): Change arg name.
-rw-r--r--src/search.c16
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)
255} 255}
256 256
257DEFUN ("looking-at", Flooking_at, Slooking_at, 1, 1, 0, 257DEFUN ("looking-at", Flooking_at, Slooking_at, 1, 1, 0,
258 "Return t if text after point matches regular expression PAT.\n\ 258 "Return t if text after point matches regular expression REGEXP.\n\
259This function modifies the match data that `match-beginning',\n\ 259This function modifies the match data that `match-beginning',\n\
260`match-end' and `match-data' access; save and restore the match\n\ 260`match-end' and `match-data' access; save and restore the match\n\
261data if you want to preserve them.") 261data if you want to preserve them.")
262 (string) 262 (regexp)
263 Lisp_Object string; 263 Lisp_Object regexp;
264{ 264{
265 return looking_at_1 (string, 0); 265 return looking_at_1 (regexp, 0);
266} 266}
267 267
268DEFUN ("posix-looking-at", Fposix_looking_at, Sposix_looking_at, 1, 1, 0, 268DEFUN ("posix-looking-at", Fposix_looking_at, Sposix_looking_at, 1, 1, 0,
269 "Return t if text after point matches regular expression PAT.\n\ 269 "Return t if text after point matches regular expression REGEXP.\n\
270Find the longest match, in accord with Posix regular expression rules.\n\ 270Find the longest match, in accord with Posix regular expression rules.\n\
271This function modifies the match data that `match-beginning',\n\ 271This function modifies the match data that `match-beginning',\n\
272`match-end' and `match-data' access; save and restore the match\n\ 272`match-end' and `match-data' access; save and restore the match\n\
273data if you want to preserve them.") 273data if you want to preserve them.")
274 (string) 274 (regexp)
275 Lisp_Object string; 275 Lisp_Object regexp;
276{ 276{
277 return looking_at_1 (string, 1); 277 return looking_at_1 (regexp, 1);
278} 278}
279 279
280static Lisp_Object 280static Lisp_Object