2013-07-11 Glenn Morris <rgm@gnu.org>
+ * automated/package-test.el (makeinfo-buffer): Autoload.
+ (compilation-in-progress, tar-parse-info, tar-header-name): Declare.
+ (package-test-install-texinfo): Don't require makeinfo.
+
* automated/files.el: Stop "local variables" confusion.
* automated/flymake-tests.el (flymake-tests): Remove unused group.
(let ((help-xref-following t))
,@body)))
+(autoload 'makeinfo-buffer "makeinfo")
+(defvar compilation-in-progress)
+
(defun package-test-install-texinfo (file)
"Install from texinfo FILE.
(with-current-buffer (find-file-literally full-file)
(unwind-protect
(progn
- (require 'makeinfo)
(makeinfo-buffer)
;; Give `makeinfo-buffer' a chance to finish
(while compilation-in-progress
(dolist (file (package-test-suffix-matches dir package-test-built-file-suffixes))
(delete-file file))))
+(defvar tar-parse-info)
+(declare-function tar-header-name "tar-mode" (cl-x) t) ; defstruct
+
(defun package-test-search-tar-file (filename)
"Search the current buffer's `tar-parse-info' variable for FILENAME.