aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2009-04-15 17:06:34 +0000
committerStefan Monnier2009-04-15 17:06:34 +0000
commitfebb8abad478455c838805e4512304a39fcb5ba3 (patch)
tree31493cd9aecc1065ecf6128a518220c1fd716a50 /src
parent9486ed75a2d9e619ffc24fc96e859cddfaffeebe (diff)
downloademacs-febb8abad478455c838805e4512304a39fcb5ba3.tar.gz
emacs-febb8abad478455c838805e4512304a39fcb5ba3.zip
(match-data): Refer to `set-match-data' rather than `store-match-data'.
Diffstat (limited to 'src')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index cf0e4febf2f..39c130ba70f 100644
--- a/src/search.c
+++ b/src/search.c
@@ -2963,7 +2963,7 @@ DEFUN ("match-data", Fmatch_data, Smatch_data, 0, 3, 0,
2963Element 2N is `(match-beginning N)'; element 2N + 1 is `(match-end N)'. 2963Element 2N is `(match-beginning N)'; element 2N + 1 is `(match-end N)'.
2964All the elements are markers or nil (nil if the Nth pair didn't match) 2964All the elements are markers or nil (nil if the Nth pair didn't match)
2965if the last match was on a buffer; integers or nil if a string was matched. 2965if the last match was on a buffer; integers or nil if a string was matched.
2966Use `store-match-data' to reinstate the data in this list. 2966Use `set-match-data' to reinstate the data in this list.
2967 2967
2968If INTEGERS (the optional first argument) is non-nil, always use 2968If INTEGERS (the optional first argument) is non-nil, always use
2969integers \(rather than markers) to represent buffer positions. In 2969integers \(rather than markers) to represent buffer positions. In