emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#8139: closed (23.2.94; [PATCH] fix broken whitep


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#8139: closed (23.2.94; [PATCH] fix broken whitepsace support in diff-mode)
Date: Fri, 04 Mar 2011 08:01:02 +0000

Your message dated Fri, 04 Mar 2011 03:00:46 -0500
with message-id <address@hidden>
and subject line Re: 23.2.94; [PATCH] fix broken whitepsace support in diff-mode
has caused the GNU bug report #8139,
regarding 23.2.94; [PATCH] fix broken whitepsace support in diff-mode
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
8139: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8139
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 23.2.94; [PATCH] fix broken whitepsace support in diff-mode Date: Mon, 28 Feb 2011 22:22:57 +0800
Turning whitespace-mode on in diff buffers no longer shows trailing
white spaces, which is due to change in whitespace-style.

>From f67012f57be0ee57281f2553030e04c3c17bc709 Mon Sep 17 00:00:00 2001
Date: Mon, 28 Feb 2011 22:17:51 +0800
Subject: [PATCH] Adapt diff-mode to change in whitespace-style

---
 lisp/diff-mode.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el
index b02c5d91..79a80c81 100644
--- a/lisp/diff-mode.el
+++ b/lisp/diff-mode.el
@@ -1267,7 +1267,7 @@ (define-derived-mode diff-mode fundamental-mode "Diff"
 
   ;; Set up `whitespace-mode' so that turning it on will show trailing
   ;; whitespace problems on the modified lines of the diff.
-  (set (make-local-variable 'whitespace-style) '(trailing))
+  (set (make-local-variable 'whitespace-style) '(face trailing))
   (set (make-local-variable 'whitespace-trailing-regexp)
        "^[-\+!<>].*?\\([\t ]+\\)$")
 
-- 
1.7.4




--- End Message ---
--- Begin Message --- Subject: Re: 23.2.94; [PATCH] fix broken whitepsace support in diff-mode Date: Fri, 04 Mar 2011 03:00:46 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 24.1

Thanks; applied.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]