mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-01 11:14:55 +00:00
(view-mode-enable): Add view-mode-map to
minor-mode-overriding-map-alist.
This commit is contained in:
parent
eb3c144cdb
commit
daa3ea8d18
@ -1,3 +1,8 @@
|
||||
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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user