diff options
Diffstat (limited to 'lisp/use-package/use-package.el')
-rw-r--r-- | lisp/use-package/use-package.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 7b370380d4b..41127b0174b 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -403,9 +403,10 @@ For full documentation. please see commentary. (when (bound-and-true-p byte-compile-current-file) ,@defines-eval (with-demoted-errors - ,(if (stringp name) - `(load ,name t) - `(require ',name nil t))))) + ,(format "Error in %s: %%S" name) + ,(if (stringp name) + `(load ,name t) + `(require ',name nil t))))) ,(if (and (or commands (use-package-plist-get args :defer)) (not (use-package-plist-get args :demand))) |