aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1996-02-03 03:25:42 +0000
committerRichard M. Stallman <[email protected]>1996-02-03 03:25:42 +0000
commitb2926fb3ef490a8aa31b1fb548df537cd6a1f343 (patch)
treecd768913e4411633999caa6143862c2a9fb42ba0
parentdb30b383887214cd26213f0c431be6ba9fafaa9c (diff)
(view-mode-map): Don't call suppress-keymap.
-rw-r--r--lisp/view.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/view.el b/lisp/view.el
index 926c2454f6..e4b0c6b1ec 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -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)