* vc/diff-mode.el (diff-mode-menu): diff-remove-trailing-whitespace.

This commit is contained in:
Dan Nicolaescu 2012-09-10 10:40:13 -04:00
parent cdff2ce78c
commit 0780c51704
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2012-09-10 Dan Nicolaescu <dann@gnu.org>
* vc/diff-mode.el (diff-mode-menu): Bind
diff-remove-trailing-whitespace.
2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.

View file

@ -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"]