aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2013-08-26 13:16:55 +0200
committerJoakim Verona2013-08-26 13:16:55 +0200
commitb4f7fcad493446e503f836ca936a878e54cc5f94 (patch)
tree2198201ab0ddf701294a1c93e67bbc82e3db76cc
parentbc468f0f25e0a9c10a4c7023a37cfc9be369b69d (diff)
parentedca97cde7e566fdc638d1d21552bc38a1531ee1 (diff)
downloademacs-b4f7fcad493446e503f836ca936a878e54cc5f94.tar.gz
emacs-b4f7fcad493446e503f836ca936a878e54cc5f94.zip
merge from trunk
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/epa-hook.el18
2 files changed, 14 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 636e09cbe73..53fd1274937 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-08-26 Tassilo Horn <tsdh@gnu.org>
2
3 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4 lambda expression in order to have `describe-variable' display it.
5
12013-08-26 Michael Albinus <michael.albinus@gmx.de> 62013-08-26 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime): 8 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
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."
53May either be a string or a list of strings.") 53May either be a string or a list of strings.")
54 54
55(put 'epa-file-encrypt-to 'safe-local-variable 55(put 'epa-file-encrypt-to 'safe-local-variable
56 (lambda (val) 56 #'(lambda (val)
57 (or (stringp val) 57 (or (stringp val)
58 (and (listp val) 58 (and (listp val)
59 (catch 'safe 59 (catch 'safe
60 (mapc (lambda (elt) 60 (mapc (lambda (elt)
61 (unless (stringp elt) 61 (unless (stringp elt)
62 (throw 'safe nil))) 62 (throw 'safe nil)))
63 val) 63 val)
64 t))))) 64 t)))))
65 65
66(put 'epa-file-encrypt-to 'permanent-local t) 66(put 'epa-file-encrypt-to 'permanent-local t)
67 67