diff options
author | Kim F. Storm <[email protected]> | 2004-11-27 01:09:08 +0000 |
---|---|---|
committer | Kim F. Storm <[email protected]> | 2004-11-27 01:09:08 +0000 |
commit | e281182817bc5db0bc276861e19081254c2ddf51 (patch) | |
tree | 3c4002fc03058b4978ac31d9ac6585e658cf2a38 /src | |
parent | 443b961aee995e86bdc196b2d26a9946c01a2f6a (diff) |
(syms_of_search) <search-spaces-regexp>: Move 'doc:'
marker out of doc string.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/search.c | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 32d8a64d43..1885f8fc89 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-11-27 Kim F. Storm <[email protected]> + + * search.c (syms_of_search) <search-spaces-regexp>: Move 'doc:' + marker out of doc string. + 2004-11-26 Stefan Monnier <[email protected]> * s/darwin.h (POSIX_SIGNALS): Undo the removal of 2002-08-25, diff --git a/src/search.c b/src/search.c index 56611ca7af..7e990f2bfd 100644 --- a/src/search.c +++ b/src/search.c @@ -2860,7 +2860,7 @@ LIST should have been created by calling `match-data' previously. */) else { int from; - + if (MARKERP (marker)) { if (XMARKER (marker)->buffer == 0) @@ -2868,15 +2868,15 @@ LIST should have been created by calling `match-data' previously. */) else XSETBUFFER (last_thing_searched, XMARKER (marker)->buffer); } - + CHECK_NUMBER_COERCE_MARKER (marker); from = XINT (marker); list = Fcdr (list); - + marker = Fcar (list); if (MARKERP (marker) && XMARKER (marker)->buffer == 0) XSETFASTINT (marker, 0); - + CHECK_NUMBER_COERCE_MARKER (marker); search_regs.start[i] = from; search_regs.end[i] = XINT (marker); @@ -3013,7 +3013,7 @@ syms_of_search () staticpro (&saved_last_thing_searched); DEFVAR_LISP ("search-spaces-regexp", &Vsearch_spaces_regexp, - /* doc: Regexp to substitute for bunches of spaces in regexp search. + doc: /* Regexp to substitute for bunches of spaces in regexp search. Some commands use this for user-specified regexps. Spaces that occur inside character classes or repetition operators or other such regexp constructs are not replaced with this. |