diff options
author | John Wiegley <johnw@newartisans.com> | 2012-06-22 01:32:59 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-06-22 01:32:59 -0500 |
commit | ece5f93919f62d19045e7a31d4013b1098a6c349 (patch) | |
tree | 96bf38cb378cc85d5c8b19e2ab82838175dfd0fe | |
parent | d9f6c0f370db01df410c8346c02eeb57103a937f (diff) | |
download | emacs-ece5f93919.tar.gz |
Byte-compilation related fix
-rw-r--r-- | lisp/use-package/use-package.el | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 1f8f7b4c503..768df4f003a 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -256,16 +256,15 @@ ;;; Code: (require 'bind-key) - -(defgroup use-package nil - "A use-package declaration for simplifying your .emacs" - :group 'startup) +(require 'bytecomp) +(require 'diminish nil t) (eval-when-compile (require 'cl)) -(require 'bind-key) -(require 'diminish nil t) +(defgroup use-package nil + "A use-package declaration for simplifying your .emacs" + :group 'startup) (defcustom use-package-verbose t "Whether to report about loading and configuration details." @@ -389,7 +388,7 @@ (list pkg-load-path) pkg-load-path)) - (eval-when-compile + (when byte-compile-current-file ,@defines-eval ,(if (stringp name) `(load ,name t) |