[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/setup 69c3a07 7/7: Refresh package archive contents if
From: |
ELPA Syncer |
Subject: |
[elpa] externals/setup 69c3a07 7/7: Refresh package archive contents if package is not known |
Date: |
Wed, 30 Jun 2021 18:57:17 -0400 (EDT) |
branch: externals/setup
commit 69c3a07c2349eeb42716308e0f9629df1f1c7458
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Refresh package archive contents if package is not known
---
setup.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/setup.el b/setup.el
index 91ce235..9b96637 100644
--- a/setup.el
+++ b/setup.el
@@ -280,6 +280,8 @@ If HOOK is a list, apply BODY to all elements of HOOK."
(setup-define :package
(lambda (package)
`(unless (package-installed-p ',package)
+ (unless (memq ',package package-archive-contents)
+ (package-refresh-contents))
(package-install ',package)))
:documentation "Install PACKAGE if it hasn't been installed yet.
This macro can be used as HEAD, and it will replace itself with
- [elpa] externals/setup updated (4a4b1c5 -> 69c3a07), ELPA Syncer, 2021/06/30
- [elpa] externals/setup b1d1efc 1/7: Allow edebugging in :when-loaded body, ELPA Syncer, 2021/06/30
- [elpa] externals/setup 36021f9 2/7: Use full name in header, ELPA Syncer, 2021/06/30
- [elpa] externals/setup a477360 4/7: Allow list arguments to be used for :with- macros, ELPA Syncer, 2021/06/30
- [elpa] externals/setup 69b01fb 3/7: Bump version to 0.2.1, ELPA Syncer, 2021/06/30
- [elpa] externals/setup 8fd94ba 5/7: Fix behaviour of :with-feature when passed a nil feature, ELPA Syncer, 2021/06/30
- [elpa] externals/setup 69c3a07 7/7: Refresh package archive contents if package is not known,
ELPA Syncer <=
- [elpa] externals/setup 7532a8c 6/7: Update public-inbox URL, ELPA Syncer, 2021/06/30