Mercurial > emacs
changeset 14475:d08e488ceb2e
(view-mode-map): Don't call suppress-keymap.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 03 Feb 1996 03:25:42 +0000 |
parents | 799da4d5aeb7 |
children | 63540fa43674 |
files | lisp/view.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/view.el Sat Feb 03 03:18:00 1996 +0000 +++ b/lisp/view.el Sat Feb 03 03:25:42 1996 +0000 @@ -71,7 +71,9 @@ (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)