From d3ffe17c6f56435ebd2aca787122a3982ac5fcb2 Mon Sep 17 00:00:00 2001 From: Xue Fuqiao Date: Mon, 3 Jun 2013 07:04:43 +0800 Subject: [PATCH] Modify `log-view-mode-map'. * vc/log-view.el (log-view-mode-map): Copy keymap from `special-mode-map'. --- lisp/ChangeLog | 1 + lisp/vc/log-view.el | 25 +++++++++++++++++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e37abcaf081..10a653caad6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,7 @@ 2013-06-02 Xue Fuqiao * vc/log-view.el: Doc fix. + (log-view-mode-map): Copy keymap from `special-mode-map'. 2013-06-02 Tassilo Horn diff --git a/lisp/vc/log-view.el b/lisp/vc/log-view.el index 2c9a2c59cdd..f20785966cd 100644 --- a/lisp/vc/log-view.el +++ b/lisp/vc/log-view.el @@ -124,11 +124,28 @@ (easy-mmode-defmap log-view-mode-map '( ;; FIXME: (copy-keymap special-mode-map) instead - ("z" . kill-this-buffer) - ("q" . quit-window) - ("g" . revert-buffer) - ("\C-m" . log-view-toggle-entry-display) + (" " . scroll-up-command) + ("-" . negative-argument) + ("0" . digit-argument) + ("1" . digit-argument) + ("2" . digit-argument) + ("3" . digit-argument) + ("4" . digit-argument) + ("5" . digit-argument) + ("6" . digit-argument) + ("7" . digit-argument) + ("8" . digit-argument) + ("9" . digit-argument) + ("<" . beginning-of-buffer) + (">" . end-of-buffer) + ("?" . describe-mode) + ("h" . describe-mode) + ("" . scroll-down-command) + (33554464 . scroll-down-command) + ("q" . quit-window) + ("g" . revert-buffer) + ("\C-m" . log-view-toggle-entry-display) ("m" . log-view-toggle-mark-entry) ("e" . log-view-modify-change-comment) ("d" . log-view-diff) -- 2.39.2