1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 12:21:25 -08:00

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

This commit is contained in:
Leo Liu 2011-03-04 00:01:24 -08:00 committed by Glenn Morris
parent d6ffd3f84f
commit 0a5cb52bb4
2 changed files with 3 additions and 1 deletions

View 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)

View 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 ]+\\)$")