Commit 0a5cb52b authored by Leo Liu's avatar Leo Liu Committed by Glenn Morris
Browse files

* lisp/vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)

parent d6ffd3f8
......@@ -10,6 +10,8 @@
2011-03-04 Leo <>
* 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 <> (tiny change)
......@@ -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 ]+\\)$")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment