Mercurial > emacs
diff lisp/vc-annotate.el @ 96206:5a490e8feb43
(vc-annotate-mode): Derive from special-mode
instead of using view-mode.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Mon, 23 Jun 2008 07:03:33 +0000 |
parents | d4a46d5d6f08 |
children | fa83184d8296 |
line wrap: on
line diff
--- a/lisp/vc-annotate.el Mon Jun 23 03:11:56 2008 +0000 +++ b/lisp/vc-annotate.el Mon Jun 23 07:03:33 2008 +0000 @@ -149,7 +149,7 @@ ;; The fontification is done by vc-annotate-lines instead of font-lock. '((vc-annotate-lines))) -(define-derived-mode vc-annotate-mode fundamental-mode "Annotate" +(define-derived-mode vc-annotate-mode special-mode "Annotate" "Major mode for output buffers of the `vc-annotate' command. You can use the mode-specific menu to alter the time-span of the used @@ -161,8 +161,7 @@ (remove-from-invisibility-spec 'foo) (set (make-local-variable 'truncate-lines) t) (set (make-local-variable 'font-lock-defaults) - '(vc-annotate-font-lock-keywords t)) - (view-mode 1)) + '(vc-annotate-font-lock-keywords t))) (defun vc-annotate-toggle-annotation-visibility () "Toggle whether or not the annotation is visible."