[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ediff-whitespace regexp is missing some whitespace characters
From: |
Michael Ernst |
Subject: |
ediff-whitespace regexp is missing some whitespace characters |
Date: |
Wed, 31 May 2006 09:08:09 -0400 |
This patch adds two additional whitespace characters to the default value
of regular expression `ediff-whitespace'. The result is to avoid some
spurious diffs when comparing files with differing whitespace.
-Michael Ernst
address@hidden
ChangeLog entry:
2006-05-31 Michael Ernst <address@hidden>
* ediff-diff.el: (ediff-whitespace): Add more whitespace to regexp
Index: lisp/ediff-diff.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/ediff-diff.el,v
retrieving revision 1.51
diff -u -r1.51 ediff-diff.el
--- lisp/ediff-diff.el 22 Feb 2006 06:50:17 -0000 1.51
+++ lisp/ediff-diff.el 31 May 2006 13:04:48 -0000
@@ -1326,7 +1326,7 @@
Used for splitting difference regions into individual words.")
(make-variable-buffer-local 'ediff-forward-word-function)
-(defvar ediff-whitespace " \n\t\f"
+(defvar ediff-whitespace " \n\t\f\r\240"
"*Characters constituting white space.
These characters are ignored when differing regions are split into words.")
(make-variable-buffer-local 'ediff-whitespace)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- ediff-whitespace regexp is missing some whitespace characters,
Michael Ernst <=