summaryrefslogtreecommitdiff
path: root/lisp/view.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-02-03 03:25:42 +0000
committerRichard M. Stallman <rms@gnu.org>1996-02-03 03:25:42 +0000
commit2e49643d42ccedcb7c588ae810e027d854c6c85e (patch)
tree76aee1f7a0ff730ab3a2eb744b99507708d3b6dc /lisp/view.el
parentab73f449ebdb4be2090e3725d136f558d6685675 (diff)
downloademacs-2e49643d42ccedcb7c588ae810e027d854c6c85e.tar.gz
(view-mode-map): Don't call suppress-keymap.
Diffstat (limited to 'lisp/view.el')
-rw-r--r--lisp/view.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/view.el b/lisp/view.el
index 926c2454f6e..e4b0c6b1ec4 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)