mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
; * src/search.c (Fmatch_beginning, Fmatch_end): Doc fix.
This commit is contained in:
parent
1647494c04
commit
7050128cfe
1 changed files with 12 additions and 10 deletions
22
src/search.c
22
src/search.c
|
|
@ -2812,11 +2812,12 @@ match_limit (Lisp_Object num, bool beginningp)
|
||||||
|
|
||||||
DEFUN ("match-beginning", Fmatch_beginning, Smatch_beginning, 1, 1, 0,
|
DEFUN ("match-beginning", Fmatch_beginning, Smatch_beginning, 1, 1, 0,
|
||||||
doc: /* Return position of start of text matched by last search.
|
doc: /* Return position of start of text matched by last search.
|
||||||
SUBEXP, a number, specifies which parenthesized expression in the last
|
SUBEXP, a number, specifies the parenthesized subexpression in the last
|
||||||
regexp.
|
regexp for which to return the start position.
|
||||||
Value is nil if SUBEXPth pair didn't match, or there were less than
|
Value is nil if SUBEXPth subexpression didn't match, or there were fewer
|
||||||
SUBEXP pairs.
|
than SUBEXP subexpressions.
|
||||||
Zero means the entire text matched by the whole regexp or whole string.
|
SUBEXP zero means the entire text matched by the whole regexp or whole
|
||||||
|
string.
|
||||||
|
|
||||||
Return value is undefined if the last search failed. */)
|
Return value is undefined if the last search failed. */)
|
||||||
(Lisp_Object subexp)
|
(Lisp_Object subexp)
|
||||||
|
|
@ -2826,11 +2827,12 @@ Return value is undefined if the last search failed. */)
|
||||||
|
|
||||||
DEFUN ("match-end", Fmatch_end, Smatch_end, 1, 1, 0,
|
DEFUN ("match-end", Fmatch_end, Smatch_end, 1, 1, 0,
|
||||||
doc: /* Return position of end of text matched by last search.
|
doc: /* Return position of end of text matched by last search.
|
||||||
SUBEXP, a number, specifies which parenthesized expression in the last
|
SUBEXP, a number, specifies the parenthesized subexpression in the last
|
||||||
regexp.
|
regexp for which to return the start position.
|
||||||
Value is nil if SUBEXPth pair didn't match, or there were less than
|
Value is nil if SUBEXPth subexpression didn't match, or there were fewer
|
||||||
SUBEXP pairs.
|
than SUBEXP subexpressions.
|
||||||
Zero means the entire text matched by the whole regexp or whole string.
|
SUBEXP zero means the entire text matched by the whole regexp or whole
|
||||||
|
string.
|
||||||
|
|
||||||
Return value is undefined if the last search failed. */)
|
Return value is undefined if the last search failed. */)
|
||||||
(Lisp_Object subexp)
|
(Lisp_Object subexp)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue