summaryrefslogtreecommitdiff
path: root/lisp/epa-hook.el
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2013-08-26 13:03:09 +0200
committerTassilo Horn <tsdh@gnu.org>2013-08-26 13:03:09 +0200
commitedca97cde7e566fdc638d1d21552bc38a1531ee1 (patch)
tree3540007a98017be3d96aa3e68828aa3b39f6b086 /lisp/epa-hook.el
parentc80016b3c123a76970d8f9dbbff61aeb5319c919 (diff)
downloademacs-edca97cde7e566fdc638d1d21552bc38a1531ee1.tar.gz
* epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
lambda expression in order to have `describe-variable' display it.
Diffstat (limited to 'lisp/epa-hook.el')
-rw-r--r--lisp/epa-hook.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/epa-hook.el b/lisp/epa-hook.el
index fc0aa3677bf..f320823a5ab 100644
--- a/lisp/epa-hook.el
+++ b/lisp/epa-hook.el
@@ -53,15 +53,15 @@ does that automatically."
May either be a string or a list of strings.")
(put 'epa-file-encrypt-to 'safe-local-variable
- (lambda (val)
- (or (stringp val)
- (and (listp val)
- (catch 'safe
- (mapc (lambda (elt)
- (unless (stringp elt)
- (throw 'safe nil)))
- val)
- t)))))
+ #'(lambda (val)
+ (or (stringp val)
+ (and (listp val)
+ (catch 'safe
+ (mapc (lambda (elt)
+ (unless (stringp elt)
+ (throw 'safe nil)))
+ val)
+ t)))))
(put 'epa-file-encrypt-to 'permanent-local t)