X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/cfc09582247ffef6a46b6249e2fba9136a62d21e..bdda4855c635ecf4135e23321bdba023e9ae65c9:/lisp/epa-hook.el diff --git a/lisp/epa-hook.el b/lisp/epa-hook.el index ea036e836e..cd9c3d38e5 100644 --- a/lisp/epa-hook.el +++ b/lisp/epa-hook.el @@ -1,5 +1,5 @@ ;;; epa-hook.el --- preloaded code to enable epa-file.el -*- lexical-binding: t -*- -;; Copyright (C) 2006-2011 Free Software Foundation, Inc. +;; Copyright (C) 2006-2016 Free Software Foundation, Inc. ;; Author: Daiki Ueno ;; 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)