branch: externals/autocrypt
commit 08c1e2c9c2cfa00b16a05968cb553f19ec680330
Author: Philip Kaludercic <[email protected]>
Commit: Philip Kaludercic <[email protected]>
Add 'lexical-binding' cookie to 'autocrypt-save-file'
This should silence the warnings from Emacs 31 onwards, that lexical
binding hasn't been enabled, even though it shouldn't have any
consequences in the case of autocrypt.
---
autocrypt.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autocrypt.el b/autocrypt.el
index 4a9fc0daec..4a68614ac1 100644
--- a/autocrypt.el
+++ b/autocrypt.el
@@ -256,7 +256,7 @@ the buffer it is being invoked in. See
`autocrypt-backends' and
(defun autocrypt-save-data ()
"Write peer data save-file to `autocrypt-save-file'."
(with-temp-buffer
- (insert ";; generated by autocrypt.el -*- mode: emacs-lisp -*-\n"
+ (insert ";; generated by autocrypt.el\t-*- lexical-binding:t -*-\n"
";; do not modify by hand\n")
(let ((standard-output (current-buffer)))
(when (fboundp 'package-get-version)