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

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

[elpa] externals/autocrypt 40b7576aad 54/94: Print the autocrypt version


From: ELPA Syncer
Subject: [elpa] externals/autocrypt 40b7576aad 54/94: Print the autocrypt version into the autocrypt file
Date: Sun, 26 Mar 2023 07:58:00 -0400 (EDT)

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

    Print the autocrypt version into the autocrypt file
---
 autocrypt.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/autocrypt.el b/autocrypt.el
index 69bb20c10b..d1c9b44dcb 100644
--- a/autocrypt.el
+++ b/autocrypt.el
@@ -222,9 +222,9 @@ Every member of this list has to be an instance of the
   (with-temp-buffer
     (insert ";; generated by autocrypt.el      -*- mode: lisp-data -*-\n"
             ";; do not modify by hand\n")
-    (when (fboundp 'package-get-version)
-      (print `(setq autocrypt-loaded-version ,(package-get-version))))
     (let ((standard-output (current-buffer)))
+      (when (fboundp 'package-get-version)
+        (print `(setq autocrypt-loaded-version ,(package-get-version))))
       (dolist (var autocrypt-save-variables)
         (print `(unless ,var
                   (setq ,var ',(symbol-value var))))))



reply via email to

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