From: John Wiegley Date: Fri, 13 Mar 2015 07:58:37 +0000 (-0500) Subject: Show more informative errors when they occur X-Git-Tag: emacs-29.0.90~1306^2~15^2~405 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aa6e3f47c74470dc4591697873e2530871e04555;p=emacs.git Show more informative errors when they occur --- 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)))