From 6c54491c95e3bdc1f447cba478b60b711393b406 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 5 May 2013 10:10:51 -0400 Subject: [PATCH] * vc/compare-w.el (compare-windows-whitespace): Treat no-break space as whitespace. --- lisp/ChangeLog | 3 +++ lisp/vc/compare-w.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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. -- 2.39.2