changeset 53663:34fd515d8bb8

(vc-annotate-mode): Inherit from fundamental-mode and activate view-mode explicitly.
author André Spiegel <spiegel@gnu.org>
date Wed, 21 Jan 2004 11:05:51 +0000
parents 6f5e6bdd8cda
children f13abea8ccd0
files lisp/vc.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc.el	Wed Jan 21 10:56:29 2004 +0000
+++ b/lisp/vc.el	Wed Jan 21 11:05:51 2004 +0000
@@ -7,7 +7,7 @@
 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
 ;; Keywords: tools
 
-;; $Id: vc.el,v 1.361 2003/12/24 23:18:10 uid66361 Exp $
+;; $Id: vc.el,v 1.362 2004/01/20 17:39:09 uid65624 Exp $
 
 ;; This file is part of GNU Emacs.
 
@@ -2830,7 +2830,7 @@
 `vc-annotate-buffers'."
   (cdr (assoc buffer vc-annotate-buffers)))
 
-(define-derived-mode vc-annotate-mode view-mode "Annotate"
+(define-derived-mode vc-annotate-mode fundamental-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
@@ -2839,6 +2839,7 @@
   (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-add-menu))
 
 (defun vc-annotate-display-default (&optional ratio)