From: John Paul Wallington Date: Sun, 6 Jul 2003 19:09:10 +0000 (+0000) Subject: (vc-annotate-offset): Move defvar up. X-Git-Tag: ttn-vms-21-2-B4~9477 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0757777795b00bf0555dc9298c8fbd9c4519614c;p=emacs.git (vc-annotate-offset): Move defvar up. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d2783845165..2d0d7309252 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2003-07-06 John Paul Wallington + + * vc.el (vc-annotate-offset): Move defvar up. + 2003-07-06 Kim F. Storm * info.el (Info-menu-entry-name-re): Add `:' to second [] part. 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 ;; 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)