]> git.eshelyaron.com Git - emacs.git/commitdiff
(view-mode-map): Don't call suppress-keymap.
authorRichard M. Stallman <rms@gnu.org>
Sat, 3 Feb 1996 03:25:42 +0000 (03:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 3 Feb 1996 03:25:42 +0000 (03:25 +0000)
lisp/view.el

index 926c2454f6e39786feb10e1685b7798b5f1297ad..e4b0c6b1ec46ec773941d154595663f47a698907 100644 (file)
@@ -71,7 +71,9 @@ This is local in each buffer, once it is used.")
 (if view-mode-map
     nil
   (setq view-mode-map (make-keymap))
-  (suppress-keymap view-mode-map)
+  ;; We used to call suppress-keymap here, but that isn't good in a minor mode.
+  ;; Self-inserting characters will beep anyway, since the buffer is read-only,
+  ;; and we should not interfere with letters that serve as useful commands.
   (define-key view-mode-map "q" 'view-exit)
   (define-key view-mode-map "<" 'beginning-of-buffer)
   (define-key view-mode-map ">" 'end-of-buffer)