diff options
author | Andreas Schwab <schwab@suse.de> | 2004-02-06 21:41:45 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2004-02-06 21:41:45 +0000 |
commit | daa3ea8d18fd03d6bd1cb2f37fb991e70934e0ab (patch) | |
tree | 49a031e9fced4170f46f712716ce19e67f5e782a /lisp/view.el | |
parent | eb3c144cdb9a063cb24de11f68d2b3b680d5bd3c (diff) | |
download | emacs-daa3ea8d18fd03d6bd1cb2f37fb991e70934e0ab.tar.gz |
(view-mode-enable): Add view-mode-map to
minor-mode-overriding-map-alist.
Diffstat (limited to 'lisp/view.el')
-rw-r--r-- | lisp/view.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/view.el b/lisp/view.el index 1ee6014c73a..6d7ad4aa468 100644 --- a/lisp/view.el +++ b/lisp/view.el @@ -463,6 +463,9 @@ Entry to view-mode runs the normal hook `view-mode-hook'." (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)) |