aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/epa-hook.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/epa-hook.el')
-rw-r--r--lisp/epa-hook.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/epa-hook.el b/lisp/epa-hook.el
index 0987b2a221..e8ba17eab5 100644
--- a/lisp/epa-hook.el
+++ b/lisp/epa-hook.el
@@ -31,7 +31,7 @@
(if (fboundp 'epa-file-name-regexp-update)
(epa-file-name-regexp-update)))
-(defcustom epa-file-name-regexp "\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'"
+(defcustom epa-file-name-regexp (purecopy "\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'")
"Regexp which matches filenames to be encrypted with GnuPG.
If you set this outside Custom while epa-file is already enabled, you