1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-28 10:56:36 +00:00

Autoload safe local property for plstore-encrypt-to

* lisp/plstore.el (plstore-encrypt-to): Autoload 'safe-local-variable'
property for improved security.
This commit is contained in:
Stefan Kangas 2022-07-06 20:53:52 +02:00
parent 3e7f6ff4b0
commit ab9b55d617

View File

@ -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)