[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] elpa-admin 821c2d7f46: * elpa-admin.el (elpaa--build-Info-1): Imp
From: |
Stefan Monnier |
Subject: |
[elpa] elpa-admin 821c2d7f46: * elpa-admin.el (elpaa--build-Info-1): Improve error message |
Date: |
Fri, 30 Sep 2022 09:42:44 -0400 (EDT) |
branch: elpa-admin
commit 821c2d7f46c2dc6574e562e17363d5ae5c42f2e9
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* elpa-admin.el (elpaa--build-Info-1): Improve error message
---
elpa-admin.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/elpa-admin.el b/elpa-admin.el
index 76094b7ef5..e95db7b72b 100644
--- a/elpa-admin.el
+++ b/elpa-admin.el
@@ -2157,8 +2157,8 @@ relative to elpa root."
(default-directory (elpaa--dirname dir))
(tmpfiles '()))
- (when (and docfile (file-readable-p docfile)
- (string-match "\\.org\\'" docfile))
+ (when (and docfile (string-match "\\.org\\'" docfile))
+ (unless (file-readable-p docfile) (error "Can't read file: %s" docfile))
(with-temp-buffer
(elpaa--call-sandboxed
t "emacs" "--batch" "-l" "ox-texinfo"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] elpa-admin 821c2d7f46: * elpa-admin.el (elpaa--build-Info-1): Improve error message,
Stefan Monnier <=