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

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

[elpa] externals/autocrypt 926b88e371 33/94: Use setup in README instead


From: ELPA Syncer
Subject: [elpa] externals/autocrypt 926b88e371 33/94: Use setup in README instead of use-package
Date: Sun, 26 Mar 2023 07:57:58 -0400 (EDT)

branch: externals/autocrypt
commit 926b88e3719ac59e6539b4d3cae9d0f5159c9114
Author: Philip K <philipk@posteo.net>
Commit: Philip K <philipk@posteo.net>

    Use setup in README instead of use-package
---
 README.md | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index 213b57ab9e..43d8c9d56b 100644
--- a/README.md
+++ b/README.md
@@ -26,13 +26,14 @@ integration is welcomed.
 How to use
 ----------
 
-This package is published on [MELPA]. Using `use-package`, one might
-configure `autocrypt.el` to read headers using Rmail and inject
+This package is published on [MELPA]. Using [`setup`][setup], one
+might configure `autocrypt.el` to read headers using Rmail and inject
 headers using `message-mode` as follows:
 
-       (use-package autocrypt
-         :hook ((rmail-mode . autocrypt-mode)
-                (message-mode . autocrypt-mode)))
+~~~elisp
+(setup (:package autocrypt)
+  (:hook-into rmail-mode message-mode))
+~~~
 
 Autocrypt recommends using a new or separate key pair for signing and
 encrypting. If you wish to do so, call the `autocrypt-create-account`
@@ -51,4 +52,5 @@ Public Domain Dedication][cc0] license.
 [autocrypt]: https://autocrypt.org/
 [public inbox]: https://lists.sr.ht/~zge/public-inbox
 [MELPA]: https://melpa.org/#/autocrypt
+[setup]: http://elpa.gnu.org/packages/setup.html
 [cc0]: https://creativecommons.org/publicdomain/zero/1.0/deed



reply via email to

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