# HG changeset patch # User Richard M. Stallman # Date 1196492231 0 # Node ID a65aa1e9a34b2ddd2989eb8a48fac48cb5ecf50b # Parent f1248d7ebab9694a32c0d118d1be45a21d37e76b (syms_of_search) : Doc fix. diff -r f1248d7ebab9 -r a65aa1e9a34b src/search.c --- a/src/search.c Sat Dec 01 03:44:37 2007 +0000 +++ b/src/search.c Sat Dec 01 06:57:11 2007 +0000 @@ -3239,9 +3239,10 @@ DEFVAR_LISP ("inhibit-changing-match-data", &Vinhibit_changing_match_data, doc: /* Internal use only. -If non-nil, the match data will not be changed during call to searching or -matching functions, such as `looking-at', `string-match', `re-search-forward' -etc. */); +If non-nil, the primitive searching and matching functions +such as `looking-at', `string-match', `re-search-forward', etc., +do not set the match data. The proper way to use this variable +is to bind it with `let' around a small expression. */); Vinhibit_changing_match_data = Qnil; defsubr (&Slooking_at);