* vc/compare-w.el (compare-windows-whitespace):
authorRichard M. Stallman <rms@gnu.org>
Sun, 5 May 2013 14:10:51 +0000 (10:10 -0400)
committerRichard M. Stallman <rms@gnu.org>
Sun, 5 May 2013 14:10:51 +0000 (10:10 -0400)
Treat no-break space as whitespace.

lisp/ChangeLog
lisp/vc/compare-w.el

index 4ff2c79..ee90a05 100644 (file)
@@ -1,5 +1,8 @@
 2013-05-05  Richard Stallman  <rms@gnu.org>
 
+       * vc/compare-w.el (compare-windows-whitespace):
+       Treat no-break space as whitespace.
+
        * mail/rmailsum.el (rmail-summary-rmail-update):
        Detect empty summary and don't change selected message.
        (rmail-summary-goto-msg): Likewise.
index fa451cc..3c40f98 100644 (file)
@@ -35,7 +35,7 @@
   :prefix "compare-"
   :group 'tools)
 
-(defcustom compare-windows-whitespace "\\(\\s-\\|\n\\)+"
+(defcustom compare-windows-whitespace "\\(\\s-\\|\n\\|\240\\)+"
   "Regexp or function that defines whitespace sequences for `compare-windows'.
 That command optionally ignores changes in whitespace.