summaryrefslogtreecommitdiff
path: root/lisp/vc/diff-mode.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2012-09-10 10:40:13 -0400
committerDan Nicolaescu <dann@ics.uci.edu>2012-09-10 10:40:13 -0400
commit0780c517047149e025890fcbfc4e7afdfa5e10f3 (patch)
tree0ae08546c4a1cc99fa5db6c572d9a54bdca030b7 /lisp/vc/diff-mode.el
parentcdff2ce78c32bbeb6442c62605b61d3af92e812d (diff)
downloademacs-0780c517047149e025890fcbfc4e7afdfa5e10f3.tar.gz
* vc/diff-mode.el (diff-mode-menu): diff-remove-trailing-whitespace.
Diffstat (limited to 'lisp/vc/diff-mode.el')
-rw-r--r--lisp/vc/diff-mode.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index c6a9371ea9a..11ec785b647 100644
--- a/lisp/vc/diff-mode.el
+++ b/lisp/vc/diff-mode.el
@@ -178,6 +178,8 @@ when editing big diffs)."
["Unified -> Context" diff-unified->context
:help "Convert unified diffs to context diffs"]
;;["Fixup Headers" diff-fixup-modifs (not buffer-read-only)]
+ ["Remove trailing whitespace" diff-remove-trailing-whitespace
+ :help "Remove trailing whitespace problems introduced by the diff"]
["Show trailing whitespace" whitespace-mode
:style toggle :selected (bound-and-true-p whitespace-mode)
:help "Show trailing whitespace in modified lines"]