From: Richard M. Stallman Date: Sat, 3 Feb 1996 03:25:42 +0000 (+0000) Subject: (view-mode-map): Don't call suppress-keymap. X-Git-Tag: emacs-19.34~1385 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b2926fb3ef490a8aa31b1fb548df537cd6a1f343;p=emacs.git (view-mode-map): Don't call suppress-keymap. --- 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)