# HG changeset patch # User Andr Spiegel # Date 1074683151 0 # Node ID 34fd515d8bb89618a0d27d657bfe577e27a55e36 # Parent 6f5e6bdd8cda8479c9c3569cfcbd155e679a7afa (vc-annotate-mode): Inherit from fundamental-mode and activate view-mode explicitly. diff -r 6f5e6bdd8cda -r 34fd515d8bb8 lisp/vc.el --- 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 ;; 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)