* lisp/vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
authorLeo Liu <sdl.web@gmail.com>
Fri, 4 Mar 2011 08:01:24 +0000 (00:01 -0800)
committerGlenn Morris <rgm@gnu.org>
Fri, 4 Mar 2011 08:01:24 +0000 (00:01 -0800)
lisp/ChangeLog
lisp/vc/diff-mode.el

index 4740444..9b4cf73 100644 (file)
@@ -10,6 +10,8 @@
 
 2011-03-04  Leo  <sdl.web@gmail.com>
 
+       * vc/diff-mode.el (diff-mode): Fix whitespace-style.  (Bug#8139)
+
        * time.el (display-time-world-list): Fix typo.  (Bug#7571)
 
 2011-03-04  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
index 13d10f0..9ccb37f 100644 (file)
@@ -1266,7 +1266,7 @@ a diff with \\[diff-reverse-direction].
 
   ;; 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 ]+\\)$")