[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/autocrypt 25513ed635 71/94: Simplify autocrypt-find-fun
From: |
ELPA Syncer |
Subject: |
[elpa] externals/autocrypt 25513ed635 71/94: Simplify autocrypt-find-function symbol searching |
Date: |
Sun, 26 Mar 2023 07:58:02 -0400 (EDT) |
branch: externals/autocrypt
commit 25513ed6355176ed8c53153f55137f2b49ffbd34
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Simplify autocrypt-find-function symbol searching
---
autocrypt.el | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/autocrypt.el b/autocrypt.el
index 0fe2ba0e40..5f82b170cb 100644
--- a/autocrypt.el
+++ b/autocrypt.el
@@ -136,13 +136,9 @@ found."
(unless backend
(error "No backend found"))
(catch 'ok
- (dolist (fn (mapcar
- #'intern-soft
- (list (format "autocrypt-%S--%S" backend command)
- (format "%S-autocrypt-%S" backend command)
- (format "%S--autocrypt-%S" backend command))))
- (when (and fn (fboundp fn))
- (throw 'ok fn)))
+ (dolist (fmt '("autocrypt-%S--%S" "%S-autocrypt-%S"
"%S--autocrypt-%S"))
+ (let ((fn (intern-soft (format fmt backend command))))
+ (when (fboundp fn) (throw 'ok fn))))
(unless silent
(error "Missing %S implementation for %S" command backend))))))
- [elpa] externals/autocrypt 82ceacb63c 13/94: fixed package-lint issues, (continued)
- [elpa] externals/autocrypt 82ceacb63c 13/94: fixed package-lint issues, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 354b339cfe 16/94: fixed or removed (require 'autocrypt) statements, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 2f94c4398f 22/94: encrypt message before composing if possible, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 13f31c7e45 45/94: Fix autocrypt-rmail, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 8bdddf38ff 48/94: Save autocrypt data when modified, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 173d7616a8 49/94: Don't save value of autocrypt-saved-version, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 72c903656e 50/94: Attempt to only save autocrypt file if necessary, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 40b7576aad 54/94: Print the autocrypt version into the autocrypt file, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt cd290fc1cb 65/94: Modify the local hook values in autocrypt-mu4e--uninstall, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 709dc5b3bf 70/94: Add default return value for autocrypt-make-function, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 25513ed635 71/94: Simplify autocrypt-find-function symbol searching,
ELPA Syncer <=
- [elpa] externals/autocrypt 81c88ab90e 86/94: Remove setup example from the README, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt 957232314a 87/94: Avoid usage of 'defsubst' where unnecessary, ELPA Syncer, 2023/03/26
- [elpa] externals/autocrypt ebfe1129f6 91/94: Recommend GNU ELPA as installation archive, ELPA Syncer, 2023/03/26