branch: externals/autocrypt
commit 40b7576aad14eb52a24638358ed8519f8217c47a
Author: Philip K <[email protected]>
Commit: Philip K <[email protected]>
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))))))