diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2010-08-05 21:01:00 -0700 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2010-08-05 21:01:00 -0700 |
commit | b3d42406f854852f3ca4a45112c8cd182279a23b (patch) | |
tree | 77f48fd4972158eeacfbbc529e1c91ca4bf03e61 /lisp | |
parent | cbfb9427737c02f3238e8e131dd062dd6bca796f (diff) | |
download | emacs-b3d42406f854852f3ca4a45112c8cd182279a23b.tar.gz emacs-b3d42406f854852f3ca4a45112c8cd182279a23b.tar.bz2 emacs-b3d42406f854852f3ca4a45112c8cd182279a23b.zip |
* lisp/vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/vc/diff-mode.el | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9ab754afe62..4e09f857af0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el index 0ef9d06c3b2..cec4fb24616 100644 --- a/lisp/vc/diff-mode.el +++ b/lisp/vc/diff-mode.el @@ -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.") |