emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/load-dir 508872e38b: * load-dir.el (load-dir-one): Pass


From: Stefan Monnier
Subject: [elpa] externals/load-dir 508872e38b: * load-dir.el (load-dir-one): Pass `format` arg to `with-demoted-errors`
Date: Wed, 2 Mar 2022 16:58:22 -0500 (EST)

branch: externals/load-dir
commit 508872e38b593bcc6a7551542379df4ad21cc7ff
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * load-dir.el (load-dir-one): Pass `format` arg to `with-demoted-errors`
---
 load-dir.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/load-dir.el b/load-dir.el
index c41b0fb7db..3a644a472f 100644
--- a/load-dir.el
+++ b/load-dir.el
@@ -130,7 +130,7 @@ Recurses into subdirectories if `load-dir-recursive' is t."
             (load-dir-debug "Ignoring %s as per `load-dir-ignored'." full))
            (t
             (if load-dir-ignore-errors
-                (with-demoted-errors (load f))
+                (with-demoted-errors "%S" (load f))
               (load f))
             (add-to-list 'load-dir-loaded f))))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]