[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/setup d8eadc2096 3/5: Rephrase documentation with cadr
From: |
ELPA Syncer |
Subject: |
[elpa] externals/setup d8eadc2096 3/5: Rephrase documentation with cadr shorthands |
Date: |
Sun, 12 Jun 2022 16:58:01 -0400 (EDT) |
branch: externals/setup
commit d8eadc2096ae56ff587c24c7339f2f58983507c1
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Rephrase documentation with cadr shorthands
---
setup.el | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/setup.el b/setup.el
index 88216bd898..9608628ca3 100644
--- a/setup.el
+++ b/setup.el
@@ -430,8 +430,7 @@ If HOOK is a list, apply BODY to all elements of HOOK."
(package-refresh-contents))
(package-install ',package)))
:documentation "Install PACKAGE if it hasn't been installed yet.
-This macro can be used as NAME, and it will replace itself with
-the first PACKAGE."
+The first PACKAGE can be used to deduce the feature context."
:repeatable t
:shorthand #'cadr)
@@ -440,8 +439,7 @@ the first PACKAGE."
`(unless (require ',feature nil t)
,(setup-quit)))
:documentation "Try to require FEATURE, or stop evaluating body.
-This macro can be used as NAME, and it will replace itself with
-the first FEATURE."
+The first FEATURE can be used to deduce the feature context."
:repeatable t
:shorthand #'cadr)
@@ -588,8 +586,7 @@ supported:
`(unless (package-installed-p ',package)
,(setup-quit)))
:documentation "If package is not installed, stop evaluating the body.
-This macro can be used as NAME, and it will replace itself with
-the first PACKAGE."
+The first PACKAGE can be used to deduce the feature context."
:repeatable t
:shorthand #'cadr)
@@ -598,8 +595,7 @@ the first PACKAGE."
`(unless (featurep ',feature)
,(setup-quit)))
:documentation "If FEATURE is not available, stop evaluating the body.
-This macro can be used as NAME, and it will replace itself with
-the first PACKAGE."
+The first FEATURE can be used to deduce the feature context."
:repeatable t
:shorthand #'cadr)