summaryrefslogtreecommitdiff
path: root/lisp/vc-annotate.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc-annotate.el')
-rw-r--r--lisp/vc-annotate.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/vc-annotate.el b/lisp/vc-annotate.el
index fbc1ba1247d..eadce2db957 100644
--- a/lisp/vc-annotate.el
+++ b/lisp/vc-annotate.el
@@ -149,7 +149,7 @@ List of factors, used to expand/compress the time scale. See `vc-annotate'."
;; 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 @@ menu items."
(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."