diff options
| author | Eli Zaretskii | 2024-07-01 15:59:05 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-07-01 15:59:05 +0300 |
| commit | 7050128cfe91a86f87dfe495ce8c3a1c82337db6 (patch) | |
| tree | 154bbb379de6d1d756f7227f9acddd06ae695483 /src | |
| parent | 1647494c04a57586c9616603b3ae803c6dd48d30 (diff) | |
| download | emacs-7050128cfe91a86f87dfe495ce8c3a1c82337db6.tar.gz emacs-7050128cfe91a86f87dfe495ce8c3a1c82337db6.zip | |
; * src/search.c (Fmatch_beginning, Fmatch_end): Doc fix.
Diffstat (limited to 'src')
| -rw-r--r-- | src/search.c | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/src/search.c b/src/search.c index 3c07933b5da..dd813eda913 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -2812,11 +2812,12 @@ match_limit (Lisp_Object num, bool beginningp) | |||
| 2812 | 2812 | ||
| 2813 | DEFUN ("match-beginning", Fmatch_beginning, Smatch_beginning, 1, 1, 0, | 2813 | DEFUN ("match-beginning", Fmatch_beginning, Smatch_beginning, 1, 1, 0, |
| 2814 | doc: /* Return position of start of text matched by last search. | 2814 | doc: /* Return position of start of text matched by last search. |
| 2815 | SUBEXP, a number, specifies which parenthesized expression in the last | 2815 | SUBEXP, a number, specifies the parenthesized subexpression in the last |
| 2816 | regexp. | 2816 | regexp for which to return the start position. |
| 2817 | Value is nil if SUBEXPth pair didn't match, or there were less than | 2817 | Value is nil if SUBEXPth subexpression didn't match, or there were fewer |
| 2818 | SUBEXP pairs. | 2818 | than SUBEXP subexpressions. |
| 2819 | Zero means the entire text matched by the whole regexp or whole string. | 2819 | SUBEXP zero means the entire text matched by the whole regexp or whole |
| 2820 | string. | ||
| 2820 | 2821 | ||
| 2821 | Return value is undefined if the last search failed. */) | 2822 | Return value is undefined if the last search failed. */) |
| 2822 | (Lisp_Object subexp) | 2823 | (Lisp_Object subexp) |
| @@ -2826,11 +2827,12 @@ Return value is undefined if the last search failed. */) | |||
| 2826 | 2827 | ||
| 2827 | DEFUN ("match-end", Fmatch_end, Smatch_end, 1, 1, 0, | 2828 | DEFUN ("match-end", Fmatch_end, Smatch_end, 1, 1, 0, |
| 2828 | doc: /* Return position of end of text matched by last search. | 2829 | doc: /* Return position of end of text matched by last search. |
| 2829 | SUBEXP, a number, specifies which parenthesized expression in the last | 2830 | SUBEXP, a number, specifies the parenthesized subexpression in the last |
| 2830 | regexp. | 2831 | regexp for which to return the start position. |
| 2831 | Value is nil if SUBEXPth pair didn't match, or there were less than | 2832 | Value is nil if SUBEXPth subexpression didn't match, or there were fewer |
| 2832 | SUBEXP pairs. | 2833 | than SUBEXP subexpressions. |
| 2833 | Zero means the entire text matched by the whole regexp or whole string. | 2834 | SUBEXP zero means the entire text matched by the whole regexp or whole |
| 2835 | string. | ||
| 2834 | 2836 | ||
| 2835 | Return value is undefined if the last search failed. */) | 2837 | Return value is undefined if the last search failed. */) |
| 2836 | (Lisp_Object subexp) | 2838 | (Lisp_Object subexp) |