emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r114004: * epa-hook.el (epa-file-encrypt-to): Quote


From: Tassilo Horn
Subject: [Emacs-diffs] trunk r114004: * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
Date: Mon, 26 Aug 2013 11:03:25 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114004
revision-id: address@hidden
parent: address@hidden
committer: Tassilo Horn <address@hidden>
branch nick: trunk
timestamp: Mon 2013-08-26 13:03:09 +0200
message:
  * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
  lambda expression in order to have `describe-variable' display it.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/epa-hook.el               epahook.el-20091113204419-o5vbwnq5f7feedwu-8664
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-08-26 06:59:53 +0000
+++ b/lisp/ChangeLog    2013-08-26 11:03:09 +0000
@@ -1,3 +1,8 @@
+2013-08-26  Tassilo Horn  <address@hidden>
+
+       * 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  <address@hidden>
 
        * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):

=== modified file 'lisp/epa-hook.el'
--- a/lisp/epa-hook.el  2013-01-01 09:11:05 +0000
+++ b/lisp/epa-hook.el  2013-08-26 11:03:09 +0000
@@ -53,15 +53,15 @@
 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)
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]