Mercurial > emacs
changeset 57421:90ecf83d04fd
(vc-annotate-mode): Remove variable.
(vc-annotate-display-select): Only call vc-annotate-mode
if we're not in that mode already.
author | André Spiegel <spiegel@gnu.org> |
---|---|
date | Sun, 10 Oct 2004 09:23:11 +0000 |
parents | bcfb3a26a3bd |
children | 4d0d253badcb |
files | lisp/vc.el |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/vc.el Sun Oct 10 05:06:47 2004 +0000 +++ b/lisp/vc.el Sun Oct 10 09:23:11 2004 +0000 @@ -646,9 +646,6 @@ :group 'vc) ;; vc-annotate functionality (CVS only). -(defvar vc-annotate-mode nil - "Variable indicating if VC-Annotate mode is active.") - (defvar vc-annotate-mode-map (let ((m (make-sparse-keymap))) (define-key m [menu-bar] (make-sparse-keymap "VC-Annotate")) @@ -3004,7 +3001,7 @@ (when buffer (set-buffer buffer) (display-buffer buffer)) - (if (not vc-annotate-mode) ; Turn on vc-annotate-mode if not done + (if (not vc-annotate-parent-ref) (vc-annotate-mode)) (cond ((null vc-annotate-display-mode) (vc-annotate-display-default vc-annotate-ratio))