* lisp/vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.

This commit is contained in:
Dan Nicolaescu 2010-08-05 21:01:00 -07:00
parent cbfb942773
commit b3d42406f8
3 changed files with 8 additions and 0 deletions

View file

@ -258,6 +258,9 @@ is just left as is in the message, so it is not lost.
**** vc-bzr handles Author:, Date: and Fixes:
**** vc-mtn handles Author: and Date:
*** Pressing g in a *vc-diff* buffer reruns vc-diff, so it will
produce an up to date diff.
** Directory local variables can apply to file-less buffers.
For example, adding "(diff-mode . ((mode . whitespace)))" to your
.dir-locals.el file, will turn on `whitespace-mode' for *vc-diff* buffers.

View file

@ -1,3 +1,7 @@
2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
* vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
2010-08-05 Eli Zaretskii <eliz@gnu.org>
* emacs-lisp/find-gc.el (find-gc-source-files): Rename

View file

@ -141,6 +141,7 @@ when editing big diffs)."
;; Standard M-r is useful, so don't change M-r or M-R.
;;("r" . diff-restrict-view)
;;("R" . diff-reverse-direction)
("g" . revert-buffer)
("q" . quit-window))
"Basic keymap for `diff-mode', bound to various prefix keys.")