mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-06 20:29:36 +00: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