From: Stefan Kangas Date: Wed, 6 Jul 2022 18:53:52 +0000 (+0200) Subject: Autoload safe local property for plstore-encrypt-to X-Git-Tag: emacs-29.0.90~1447^2~1135 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ab9b55d617fe1235548d368e416e07aeb25504b8;p=emacs.git Autoload safe local property for plstore-encrypt-to * lisp/plstore.el (plstore-encrypt-to): Autoload 'safe-local-variable' property for improved security. --- diff --git a/lisp/plstore.el b/lisp/plstore.el index b37d39ce1b1..de3f828016a 100644 --- a/lisp/plstore.el +++ b/lisp/plstore.el @@ -107,6 +107,7 @@ symmetric encryption will be used." :type '(choice (const nil) (repeat :tag "Recipient(s)" string)) :group 'plstore) +;;;###autoload (put 'plstore-encrypt-to 'safe-local-variable (lambda (val) (or (stringp val)