From: Dan Nicolaescu Date: Mon, 10 Sep 2012 14:40:13 +0000 (-0400) Subject: * vc/diff-mode.el (diff-mode-menu): diff-remove-trailing-whitespace. X-Git-Tag: emacs-24.2.90~333 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0780c517047149e025890fcbfc4e7afdfa5e10f3;p=emacs.git * vc/diff-mode.el (diff-mode-menu): diff-remove-trailing-whitespace. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8de59875674..47471f508f0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-09-10 Dan Nicolaescu + + * vc/diff-mode.el (diff-mode-menu): Bind + diff-remove-trailing-whitespace. + 2012-09-10 Stefan Monnier * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var. 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"]