From c8e837514fa2e5c161106a6d14ef174561496f1b Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 15 May 2011 09:47:56 -0400 Subject: [PATCH] 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. --- lisp/ChangeLog | 5 +++++ lisp/vc/vc-annotate.el | 1 + 2 files changed, 6 insertions(+) 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) -- 2.39.2