changeset 58327:a360835c5032

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Fri, 19 Nov 2004 19:40:32 +0000
parents 0cc0d3274d68
children 829390516ec0
files src/ChangeLog
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Nov 19 19:38:26 2004 +0000
+++ b/src/ChangeLog	Fri Nov 19 19:40:32 2004 +0000
@@ -1,3 +1,16 @@
+2004-11-19  Richard M. Stallman  <rms@gnu.org>
+
+	* search.c (Vsearch_whitespace_regexp): New variable.
+	(syms_of_search): Defvar it.
+	(compile_pattern_1): Call re_set_whitespace_regexp with it.
+	(search_buffer): No regexp is trivial if Vsearch_whitespace_regexp
+	is non-nil.
+
+	* regex.c (regex_compile): Substitute whitespace_regexp
+	for spaces, if it is nonzero.
+	(whitespace_regexp): New variable.
+	(re_set_whitespace_regexp): New function.
+
 2004-11-19  Kim F. Storm  <storm@cua.dk>
 
 	* indent.c (Fvertical_motion): Fix last change.