From 9311321192b2950578d6381493171d4576f975f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Spiegel?= Date: Wed, 21 Jan 2004 11:05:51 +0000 Subject: [PATCH] (vc-annotate-mode): Inherit from fundamental-mode and activate view-mode explicitly. --- lisp/vc.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/vc.el b/lisp/vc.el index 6e2eabcb9df..d8402e9c04b 100644 --- a/lisp/vc.el +++ b/lisp/vc.el @@ -7,7 +7,7 @@ ;; Maintainer: Andre Spiegel ;; 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 @@ Return nil if no match made. Associations are made based on `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 @@ menu items." (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) -- 2.39.2