Variable: epa-file-name-regexp
epa-file-name-regexp is a customizable variable defined in
epa-hook.el.gz.
Value
"\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'"
Documentation
Regexp which matches filenames to be encrypted with GnuPG.
If you set this outside Custom while epa-file is already enabled,
you have to call epa-file-name-regexp-update after setting it
to properly update file-name-handler-alist. Setting this
through Custom does that automatically.
Source Code
;; Defined in /usr/src/emacs/lisp/epa-hook.el.gz
(defcustom epa-file-name-regexp "\\.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 have to call `epa-file-name-regexp-update' after setting it
to properly update `file-name-handler-alist'. Setting this
through Custom does that automatically."
:type 'regexp
:group 'epa-file
:set 'epa-file--file-name-regexp-set)