From: Kim F. Storm Date: Sat, 27 Nov 2004 01:09:08 +0000 (+0000) Subject: (syms_of_search) : Move 'doc:' X-Git-Tag: ttn-vms-21-2-B4~3617 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e281182817bc5db0bc276861e19081254c2ddf51;p=emacs.git (syms_of_search) : Move 'doc:' marker out of doc string. --- diff --git a/src/ChangeLog b/src/ChangeLog index 32d8a64d43f..1885f8fc894 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2004-11-27 Kim F. Storm + + * search.c (syms_of_search) : Move 'doc:' + marker out of doc string. + 2004-11-26 Stefan Monnier * s/darwin.h (POSIX_SIGNALS): Undo the removal of 2002-08-25, diff --git a/src/search.c b/src/search.c index 56611ca7af8..7e990f2bfd7 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.