diff options
| author | Richard M. Stallman | 1995-04-06 05:18:35 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-04-06 05:18:35 +0000 |
| commit | 94f949720320da01fd4a04bc74f0fb1bfabc9600 (patch) | |
| tree | d6ea24abaa40032b9c55608a452f45df45d6dc03 | |
| parent | 39b71e3947ff147afc9c9bff35da81905c0cd69e (diff) | |
| download | emacs-94f949720320da01fd4a04bc74f0fb1bfabc9600.tar.gz emacs-94f949720320da01fd4a04bc74f0fb1bfabc9600.zip | |
(Flooking_at, Fposix_looking_at): Change arg name.
| -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) | |||
| 255 | } | 255 | } |
| 256 | 256 | ||
| 257 | DEFUN ("looking-at", Flooking_at, Slooking_at, 1, 1, 0, | 257 | DEFUN ("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\ |
| 259 | This function modifies the match data that `match-beginning',\n\ | 259 | This 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\ |
| 261 | data if you want to preserve them.") | 261 | data 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 | ||
| 268 | DEFUN ("posix-looking-at", Fposix_looking_at, Sposix_looking_at, 1, 1, 0, | 268 | DEFUN ("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\ |
| 270 | Find the longest match, in accord with Posix regular expression rules.\n\ | 270 | Find the longest match, in accord with Posix regular expression rules.\n\ |
| 271 | This function modifies the match data that `match-beginning',\n\ | 271 | This 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\ |
| 273 | data if you want to preserve them.") | 273 | data 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 | ||
| 280 | static Lisp_Object | 280 | static Lisp_Object |