"The EasyPG Assistant"
:group 'epg)
-(defcustom epa-protocol 'OpenPGP
- "The default protocol."
- :type '(choice (const :tag "OpenPGP" OpenPGP)
- (const :tag "CMS" CMS))
- :group 'epa)
-
-(defcustom epa-armor nil
- "If non-nil, epa commands create ASCII armored output."
- :type 'boolean
- :group 'epa)
-
-(defcustom epa-textmode nil
- "If non-nil, epa commands treat input files as text."
- :type 'boolean
- :group 'epa)
-
(defcustom epa-popup-info-window t
"If non-nil, status information from epa commands is displayed on
the separate window."
(17 . ?D)
(20 . ?G)))
+(defvar epa-protocol 'OpenPGP
+ "The default protocol.
+The values can be either OpenPGP or CMS.
+You should bind this variable with `let', but do not set it globally.")
+
+(defvar epa-armor nil
+ "If non-nil, epa commands create ASCII armored output.
+You should bind this variable with `let', but do not set it globally.")
+
+(defvar epa-textmode nil
+ "If non-nil, epa commands treat input files as text.
+You should bind this variable with `let', but do not set it globally.")
+
(defvar epa-keys-buffer nil)
(defvar epa-key-buffer-alist nil)
(defvar epa-key nil)
(font-lock-set-defaults)
(make-local-variable 'epa-exit-buffer-function)
(make-local-variable 'revert-buffer-function)
- (setq revert-buffer-function 'epa--revert-buffer)
+ (setq revert-buffer-function 'epa--key-list-revert-buffer)
(run-hooks 'epa-key-list-mode-hook))
(defun epa-key-mode ()
(list nil)))
(epa--list-keys name t))
-(defun epa--revert-buffer (&optional ignore-auto noconfirm)
+(defun epa--key-list-revert-buffer (&optional ignore-auto noconfirm)
(apply #'epa--list-keys epa-list-keys-arguments))
(defun epa--marked-keys ()