]> git.eshelyaron.com Git - emacs.git/commitdiff
(info-xref-xfile-alist, info-xref-filename-heading, info-xref-good,
authorJuanma Barranquero <lekktu@gmail.com>
Wed, 24 Aug 2005 14:00:17 +0000 (14:00 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Wed, 24 Aug 2005 14:00:17 +0000 (14:00 +0000)
info-xref-bad): Defvar at compile time.

lisp/info-xref.el

index 79dec8419a1cf8f6c0d7398f625a5812ab091b1c..1a9b196a764b49df2f8facf9965483a8512df882 100644 (file)
@@ -138,19 +138,27 @@ should open up the purported top file and see what subfiles it says."
 ;; 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."