Commit c9829c70 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(log-view-mode-map): Remove `q' binding, and unreliable

cvs-mode-map parent hack.
(log-view-mode): Derive from special-mode.
parent b932657b
2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
* log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
cvs-mode-map parent hack.
(log-view-mode): Derive from special-mode.
* linum.el (linum-mode): window-size-change-functions is redundant.
Adapt to new window-configuration-change-hook behavior.
(linum-after-size, linum-after-config): Remove.
......
......@@ -123,8 +123,7 @@
:prefix "log-view-")
(easy-mmode-defmap log-view-mode-map
'(("q" . quit-window)
("z" . kill-this-buffer)
'(("z" . kill-this-buffer)
("m" . log-view-toggle-mark-entry)
("e" . log-view-modify-change-comment)
("d" . log-view-diff)
......@@ -140,10 +139,7 @@
("\M-n" . log-view-file-next)
("\M-p" . log-view-file-prev))
"Log-View's keymap."
:group 'log-view
;; Here I really need either buffer-local keymap-inheritance
;; or a minor-mode-map with lower precedence than the local map.
:inherit (if (boundp 'cvs-mode-map) cvs-mode-map))
:group 'log-view)
(easy-menu-define log-view-mode-menu log-view-mode-map
"Log-View Display Menu"
......@@ -246,7 +242,7 @@ The match group number 1 should match the revision number itself.")
;;;;
;;;###autoload
(define-derived-mode log-view-mode fundamental-mode "Log-View"
(define-derived-mode log-view-mode special-mode "Log-View"
"Major mode for browsing CVS log output."
(setq buffer-read-only t)
(set (make-local-variable 'font-lock-defaults) log-view-font-lock-defaults)
......
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