diff options
author | John Wiegley <johnw@newartisans.com> | 2017-12-03 13:11:49 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2017-12-03 13:13:30 -0800 |
commit | 99200a1642318a09f77d42a298e2e063c378dee4 (patch) | |
tree | 5686355743687f0a5ac35f69d72a089f412384cb | |
parent | 7c95d0a0e0693844c68a6451c5c89b8f273a6c51 (diff) | |
download | emacs-99200a1642.tar.gz |
Fix a byte-compiler warning in up-ensure.el
-rw-r--r-- | up-core.el | 5 | ||||
-rw-r--r-- | up-ensure.el | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/up-core.el b/up-core.el index 81cae6e177b..95d4fbb7860 100644 --- a/up-core.el +++ b/up-core.el @@ -45,10 +45,7 @@ (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'." diff --git a/up-ensure.el b/up-ensure.el index 75b0ea16fe1..2e3d4ec4116 100644 --- a/up-ensure.el +++ b/up-ensure.el @@ -35,6 +35,10 @@ (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." |