From: Chong Yidong Date: Sun, 15 May 2011 13:47:56 +0000 (-0400) Subject: Bind = to diff command in vc-annotate mode (Bug#8671) X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~261 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8e837514fa2e5c161106a6d14ef174561496f1b;p=emacs.git Bind = to diff command in vc-annotate mode (Bug#8671) * lisp/vc/vc-annotate.el (vc-annotate-mode-map): Bind = to vc-annotate-show-diff-revision-at-line. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4fd54d56b19..631a1bec3d0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-05-15 Chong Yidong + + * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to + vc-annotate-show-diff-revision-at-line (Bug#8671). + 2011-05-14 Glenn Morris * vc/add-log.el (add-change-log-entry): Don't start adding a new entry diff --git a/lisp/vc/vc-annotate.el b/lisp/vc/vc-annotate.el index abd3806d02f..b6ecc4c1d75 100644 --- a/lisp/vc/vc-annotate.el +++ b/lisp/vc/vc-annotate.el @@ -120,6 +120,7 @@ List of factors, used to expand/compress the time scale. See `vc-annotate'." (let ((m (make-sparse-keymap))) (define-key m "a" 'vc-annotate-revision-previous-to-line) (define-key m "d" 'vc-annotate-show-diff-revision-at-line) + (define-key m "=" 'vc-annotate-show-diff-revision-at-line) (define-key m "D" 'vc-annotate-show-changeset-diff-revision-at-line) (define-key m "f" 'vc-annotate-find-revision-at-line) (define-key m "j" 'vc-annotate-revision-at-line)