Commit 78df961d authored by Michael Olson's avatar Michael Olson
Browse files

EasyPG: Rename epa-mail-minor-mode to epa-global-mail-mode.

parent c53956fe
......@@ -6,7 +6,7 @@
(epg-bug-report-address): New constant.
* epa-mail.el (epa-mail-mode): Add autoload cookie.
(epa-mail-minor-mode): New global minor mode.
(epa-global-mail-mode): New global minor mode.
* epa-file.el (epa-file-mode): New global minor mode.
......@@ -175,11 +175,11 @@ Don't use this command in Lisp programs!"
(epa-import-armor-in-region (point-min) (point-max)))
(define-minor-mode epa-mail-minor-mode
(define-minor-mode epa-global-mail-mode
"Minor mode to hook EasyPG into Mail mode."
:global t :init-value nil :group 'epa-mail :version "23.1"
(remove-hook 'mail-mode-hook 'epa-mail-mode)
(if epa-mail-minor-mode
(if epa-global-mail-mode
(add-hook 'mail-mode-hook 'epa-mail-mode)))
(provide 'epa-mail)
......@@ -47,7 +47,7 @@ the separate window."
(defcustom epa-global-minor-modes '(epa-dired-mode
"Globally defined minor modes to hook into other modes."
:type '(repeat symbol)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment