]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 47404444400921fbcb9e7b54df3a3805a787e706..9b4cf73b453114ae298e1fe8b6ecf2f90c6e6e99 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 13d10f02b41597210f3211181f0cbb4e33c4c46e..9ccb37f3a55a248f0690c9670b84ab6a2ce7f1cb 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 ]+\\)$")