]> git.eshelyaron.com Git - emacs.git/commitdiff
* vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
authorGlenn Morris <rgm@gnu.org>
Tue, 11 Jun 2013 06:36:06 +0000 (23:36 -0700)
committerGlenn Morris <rgm@gnu.org>
Tue, 11 Jun 2013 06:36:06 +0000 (23:36 -0700)
although define-derived-mode was doing this anyway.

Fixes: debbugs:14583
lisp/ChangeLog
lisp/vc/log-view.el

index 4a8c5225e31c536160fdcf887be905997c23a04a..f3e6eb18d69ca2773af6dd31039637f3eaec71fc 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-11  Glenn Morris  <rgm@gnu.org>
+
+       * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
+       although define-derived-mode was doing this anyway.  (Bug#14583)
+
 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
 
        * allout.el (allout-encryption-plaintext-sanitization-regexps):
index f20785966cdc64683d41c794ec2f78fa7e25b41b..de103c0cdb68fc3d430a41303befe9f25a47a83c 100644 (file)
 
 (easy-mmode-defmap log-view-mode-map
   '(
-    ;; FIXME: (copy-keymap special-mode-map) instead
-    (" "       .       scroll-up-command)
     ("-"       .       negative-argument)
     ("0"       .       digit-argument)
     ("1"       .       digit-argument)
     ("7"       .       digit-argument)
     ("8"       .       digit-argument)
     ("9"       .       digit-argument)
-    ("<"       .       beginning-of-buffer)
-    (">"       .       end-of-buffer)
-    ("?"       .       describe-mode)
-    ("h"       .       describe-mode)
-    ("\7f"       .       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)
     ("\M-n" . log-view-file-next)
     ("\M-p" . log-view-file-prev))
   "Log-View's keymap."
+  :inherit special-mode-map
   :group 'log-view)
 
 (easy-menu-define log-view-mode-menu log-view-mode-map