changeset 91733:e9326c8f35b0

EasyPG: Rename epa-mail-minor-mode to epa-global-mail-mode.
author Michael Olson <mwolson@gnu.org>
date Sun, 10 Feb 2008 21:59:27 +0000
parents c33ec1f680a9
children 119a8eeef82f
files lisp/ChangeLog lisp/epa-mail.el lisp/epa.el
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Feb 10 21:56:38 2008 +0000
+++ b/lisp/ChangeLog	Sun Feb 10 21:59:27 2008 +0000
@@ -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.
 
--- a/lisp/epa-mail.el	Sun Feb 10 21:56:38 2008 +0000
+++ b/lisp/epa-mail.el	Sun Feb 10 21:59:27 2008 +0000
@@ -175,11 +175,11 @@
   (epa-import-armor-in-region (point-min) (point-max)))
 
 ;;;###autoload
-(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)
--- a/lisp/epa.el	Sun Feb 10 21:56:38 2008 +0000
+++ b/lisp/epa.el	Sun Feb 10 21:59:27 2008 +0000
@@ -47,7 +47,7 @@
 
 (defcustom epa-global-minor-modes '(epa-dired-mode
 				    epa-file-mode
-				    epa-mail-minor-mode
+				    epa-global-mail-mode
 				    epa-menu-mode)
   "Globally defined minor modes to hook into other modes."
   :type '(repeat symbol)