changeset 86900:a65aa1e9a34b

(syms_of_search) <inhibit-changing-match-data>: Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Sat, 01 Dec 2007 06:57:11 +0000
parents f1248d7ebab9
children 63254fccf80e
files src/search.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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);