]> code.delx.au - gnu-emacs/blobdiff - lisp/epa-hook.el
Add a couple cells to lisp-prettify-symbols-alist
[gnu-emacs] / lisp / epa-hook.el
index fc0aa3677bf2e7fbf1f1c026f58b0815c469cb4c..cd9c3d38e5106a9cdbf35c676948645392dd28d4 100644 (file)
@@ -1,5 +1,5 @@
 ;;; epa-hook.el --- preloaded code to enable epa-file.el -*- lexical-binding: t -*-
-;; Copyright (C) 2006-2013 Free Software Foundation, Inc.
+;; Copyright (C) 2006-2016 Free Software Foundation, Inc.
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Keywords: PGP, GnuPG
@@ -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)