# HG changeset patch # User Juanma Barranquero # Date 1124892017 0 # Node ID 23c9aeba8f591daecc0e2d0087d0e725a4e1453d # Parent e1fcf3783add44d4ad186bcc5bd3390a34d85083 (info-xref-xfile-alist, info-xref-filename-heading, info-xref-good, info-xref-bad): Defvar at compile time. diff -r e1fcf3783add -r 23c9aeba8f59 lisp/info-xref.el --- a/lisp/info-xref.el Wed Aug 24 11:54:25 2005 +0000 +++ b/lisp/info-xref.el Wed Aug 24 14:00:17 2005 +0000 @@ -138,19 +138,27 @@ ;; Some dynamic variables are used to share information with sub-functions ;; below. ;; -;; info-xref-filename - current top-level filename, eg. /usr/info/foo.info.gz -;; -;; info-xref-filename-header - a heading message for the current top-level -;; filename, or "" when it's been printed. -;; -;; info-xref-good - count of good cross references. -;; -;; info-xref-bad - count of bad cross references. -;; -;; info-xref-xfile-alist - indexed by "(foo)" with value nil or t according -;; to whether "(foo)" exists or not. This is used to suppress duplicate -;; messages about foo not being available. (Duplicates within one -;; top-level file that is.) +(eval-when-compile + ;; + ;; info-xref-filename-header - a heading message for the current top-level + ;; filename, or "" when it's been printed. + ;; + (defvar info-xref-xfile-alist) + ;; + ;; info-xref-good - count of good cross references. + ;; + (defvar info-xref-good) + ;; + ;; info-xref-bad - count of bad cross references. + ;; + (defvar info-xref-bad) + ;; + ;; info-xref-xfile-alist - indexed by "(foo)" with value nil or t according + ;; to whether "(foo)" exists or not. This is used to suppress duplicate + ;; messages about foo not being available. (Duplicates within one + ;; top-level file that is.) + ;; + (defvar info-xref-filename-heading)) (defun info-xref-check-list (filename-list) "Check external references in info documents in FILENAME-LIST."