Commit daa3ea8d authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(view-mode-enable): Add view-mode-map to

minor-mode-overriding-map-alist.
parent eb3c144c
2004-02-06 Andreas Schwab <schwab@suse.de>
* view.el (view-mode-enable): Add view-mode-map to
minor-mode-overriding-map-alist.
2004-02-05 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* x-dnd.el (x-dnd-get-local-file-name): Fix byte compiler warning
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment