diff options
| author | Juanma Barranquero | 2005-08-24 14:00:17 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-08-24 14:00:17 +0000 |
| commit | 9ca3e5932be2ce3261a911be112df35b4af7e49a (patch) | |
| tree | 25eada91d11025ae237051c0ef584d12809a7b44 | |
| parent | 94dfee0bfe7edcd889defb5f5b3b8be93ad3a352 (diff) | |
| download | emacs-9ca3e5932be2ce3261a911be112df35b4af7e49a.tar.gz emacs-9ca3e5932be2ce3261a911be112df35b4af7e49a.zip | |
(info-xref-xfile-alist, info-xref-filename-heading, info-xref-good,
info-xref-bad): Defvar at compile time.
| -rw-r--r-- | lisp/info-xref.el | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/lisp/info-xref.el b/lisp/info-xref.el index 79dec8419a1..1a9b196a764 100644 --- a/lisp/info-xref.el +++ b/lisp/info-xref.el | |||
| @@ -138,19 +138,27 @@ should open up the purported top file and see what subfiles it says." | |||
| 138 | ;; Some dynamic variables are used to share information with sub-functions | 138 | ;; Some dynamic variables are used to share information with sub-functions |
| 139 | ;; below. | 139 | ;; below. |
| 140 | ;; | 140 | ;; |
| 141 | ;; info-xref-filename - current top-level filename, eg. /usr/info/foo.info.gz | 141 | (eval-when-compile |
| 142 | ;; | 142 | ;; |
| 143 | ;; info-xref-filename-header - a heading message for the current top-level | 143 | ;; info-xref-filename-header - a heading message for the current top-level |
| 144 | ;; filename, or "" when it's been printed. | 144 | ;; filename, or "" when it's been printed. |
| 145 | ;; | 145 | ;; |
| 146 | ;; info-xref-good - count of good cross references. | 146 | (defvar info-xref-xfile-alist) |
| 147 | ;; | 147 | ;; |
| 148 | ;; info-xref-bad - count of bad cross references. | 148 | ;; info-xref-good - count of good cross references. |
| 149 | ;; | 149 | ;; |
| 150 | ;; info-xref-xfile-alist - indexed by "(foo)" with value nil or t according | 150 | (defvar info-xref-good) |
| 151 | ;; to whether "(foo)" exists or not. This is used to suppress duplicate | 151 | ;; |
| 152 | ;; messages about foo not being available. (Duplicates within one | 152 | ;; info-xref-bad - count of bad cross references. |
| 153 | ;; top-level file that is.) | 153 | ;; |
| 154 | (defvar info-xref-bad) | ||
| 155 | ;; | ||
| 156 | ;; info-xref-xfile-alist - indexed by "(foo)" with value nil or t according | ||
| 157 | ;; to whether "(foo)" exists or not. This is used to suppress duplicate | ||
| 158 | ;; messages about foo not being available. (Duplicates within one | ||
| 159 | ;; top-level file that is.) | ||
| 160 | ;; | ||
| 161 | (defvar info-xref-filename-heading)) | ||
| 154 | 162 | ||
| 155 | (defun info-xref-check-list (filename-list) | 163 | (defun info-xref-check-list (filename-list) |
| 156 | "Check external references in info documents in FILENAME-LIST." | 164 | "Check external references in info documents in FILENAME-LIST." |