1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-07 16:10:46 -08:00

(view-mode-map): Don't call suppress-keymap.

This commit is contained in:
Richard M. Stallman 1996-02-03 03:25:42 +00:00
parent db30b38388
commit b2926fb3ef

View 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)