From: Michael Olson Date: Sun, 10 Feb 2008 21:59:27 +0000 (+0000) Subject: EasyPG: Rename epa-mail-minor-mode to epa-global-mail-mode. X-Git-Tag: emacs-pretest-23.0.90~8032 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=78df961d5989299fc8e663fd83a33ea65256efdd;p=emacs.git EasyPG: Rename epa-mail-minor-mode to epa-global-mail-mode. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c19e27d04db..3157aeef6e6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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. diff --git a/lisp/epa-mail.el b/lisp/epa-mail.el index 0fcff2806ca..b18fca06e8f 100644 --- a/lisp/epa-mail.el +++ b/lisp/epa-mail.el @@ -175,11 +175,11 @@ Don't use this command in Lisp programs!" (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) diff --git a/lisp/epa.el b/lisp/epa.el index 5d40a6345a0..16c418b362b 100644 --- a/lisp/epa.el +++ b/lisp/epa.el @@ -47,7 +47,7 @@ the separate window." (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)