Mercurial > emacs
changeset 53831:bd366ce7b155
(view-mode-enable): Add view-mode-map to
minor-mode-overriding-map-alist.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Fri, 06 Feb 2004 21:41:22 +0000 |
parents | 4f34dbd3fbf8 |
children | 74a95687c23f |
files | lisp/view.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/view.el Fri Feb 06 09:25:23 2004 +0000 +++ b/lisp/view.el Fri Feb 06 21:41:22 2004 +0000 @@ -463,6 +463,9 @@ (if (buffer-file-name) (file-name-nondirectory (buffer-file-name)) (buffer-name)))) + ;; Override major mode's scrolling commands. + (add-to-list 'minor-mode-overriding-map-alist + (cons 'view-mode view-mode-map)) (force-mode-line-update) (run-hooks 'view-mode-hook))