(eval-when-compile
(require 'cl)
- (require 'regexp-opt)
-
- (declare-function package-installed-p "package")
- (declare-function package-read-all-archive-contents "package" ()))
+ (require 'regexp-opt))
(defgroup use-package nil
"A use-package declaration for simplifying your `.emacs'."
(require 'up-core)
+(eval-when-compile
+ (declare-function package-installed-p "package")
+ (declare-function package-read-all-archive-contents "package" ()))
+
(defcustom use-package-always-ensure nil
"Treat every package as though it had specified using `:ensure SEXP'.
See also `use-package-defaults', which uses this value."