* epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
authorTassilo Horn <tsdh@gnu.org>
Mon, 26 Aug 2013 11:03:09 +0000 (13:03 +0200)
committerTassilo Horn <tsdh@gnu.org>
Mon, 26 Aug 2013 11:03:09 +0000 (13:03 +0200)
lambda expression in order to have `describe-variable' display it.

lisp/ChangeLog
lisp/epa-hook.el

index 636e09c..53fd127 100644 (file)
@@ -1,3 +1,8 @@
+2013-08-26  Tassilo Horn  <tsdh@gnu.org>
+
+       * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
+       lambda expression in order to have `describe-variable' display it.
+
 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
 
        * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
index fc0aa36..f320823 100644 (file)
@@ -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)