mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Show more informative errors when they occur
This commit is contained in:
parent
3cbf510468
commit
aa6e3f47c7
1 changed files with 4 additions and 3 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue