summaryrefslogtreecommitdiff
path: root/lisp/vc.el
diff options
context:
space:
mode:
authorJohn Paul Wallington <jpw@pobox.com>2003-07-06 19:09:10 +0000
committerJohn Paul Wallington <jpw@pobox.com>2003-07-06 19:09:10 +0000
commit0757777795b00bf0555dc9298c8fbd9c4519614c (patch)
tree107e6d79d8aa0d045c466ff7e349ddcb0c9d3a57 /lisp/vc.el
parent5c830368ec6b1027b2980c50872dc0ab83b78360 (diff)
downloademacs-0757777795b00bf0555dc9298c8fbd9c4519614c.tar.gz
(vc-annotate-offset): Move defvar up.
Diffstat (limited to 'lisp/vc.el')
-rw-r--r--lisp/vc.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/vc.el b/lisp/vc.el
index 8464b72aacc..491ff1f5da6 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -7,7 +7,7 @@
;; Maintainer: Andre Spiegel <spiegel@gnu.org>
;; Keywords: tools
-;; $Id: vc.el,v 1.357 2003/06/30 10:34:26 rms Exp $
+;; $Id: vc.el,v 1.358 2003/07/06 17:28:12 monnier Exp $
;; This file is part of GNU Emacs.
@@ -3029,6 +3029,8 @@ or OFFSET if present."
"Return the current time, encoded as fractional days."
(vc-annotate-convert-time (current-time)))
+(defvar vc-annotate-offset nil)
+
(defun vc-annotate-display (&optional color-map offset)
"Highlight `vc-annotate' output in the current buffer.
COLOR-MAP, if present, overrides `vc-annotate-color-map'.
@@ -3038,8 +3040,6 @@ The annotations are relative to the current time, unless overridden by OFFSET."
(set (make-local-variable 'vc-annotate-offset) offset)
(font-lock-mode 1))
-(defvar vc-annotate-offset nil)
-
(defun vc-annotate-lines (limit)
(let (difference)
(while (and (< (point) limit)