diff options
Diffstat (limited to 'src')
| -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 |