From: John Wiegley Date: Mon, 4 Dec 2017 19:53:35 +0000 (-0800) Subject: Please the byte-compiler X-Git-Tag: emacs-29.0.90~1306^2~15^2~156^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d771e8d719;p=emacs.git Please the byte-compiler --- diff --git a/lisp/use-package/bind-chord.el b/lisp/use-package/bind-chord.el index 35634b174a3..e5184bff60e 100644 --- a/lisp/use-package/bind-chord.el +++ b/lisp/use-package/bind-chord.el @@ -17,7 +17,7 @@ ;;; Code: (require 'bind-key) -(require 'key-chord) +(require 'key-chord nil t) ;;;###autoload (defmacro bind-chord (chord command &optional keymap) diff --git a/lisp/use-package/use-package-ensure-system-package.el b/lisp/use-package/use-package-ensure-system-package.el index b8fd19d830b..36a614d47c3 100644 --- a/lisp/use-package/use-package-ensure-system-package.el +++ b/lisp/use-package/use-package-ensure-system-package.el @@ -20,7 +20,12 @@ ;;; Code: (require 'use-package) -(require 'system-packages) +(require 'system-packages nil t) + +(eval-when-compile + (defvar system-packages-packagemanager) + (defvar system-packages-supported-package-managers) + (defvar system-packages-usesudo)) (defun use-package-ensure-system-package-install-command (pack) "Return the default install command for `pack'." diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index ec459ab1662..c6ab7d742c6 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -45,6 +45,7 @@ (require 'up-diminish) (require 'up-delight) +(declare-function use-package-jump-to-package-form "up-jump") (autoload #'use-package-jump-to-package-form "up-jump" nil t) (provide 'use-package)