From: Richard M. Stallman Date: Sun, 5 May 2013 14:10:51 +0000 (-0400) Subject: * vc/compare-w.el (compare-windows-whitespace): X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~300 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6c54491c95e3bdc1f447cba478b60b711393b406;p=emacs.git * vc/compare-w.el (compare-windows-whitespace): Treat no-break space as whitespace. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4ff2c7951de..ee90a05473a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2013-05-05 Richard Stallman + * 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. diff --git a/lisp/vc/compare-w.el b/lisp/vc/compare-w.el index fa451ccbe20..3c40f989fb3 100644 --- a/lisp/vc/compare-w.el +++ b/lisp/vc/compare-w.el @@ -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.