From 78df961d5989299fc8e663fd83a33ea65256efdd Mon Sep 17 00:00:00 2001 From: Michael Olson Date: Sun, 10 Feb 2008 21:59:27 +0000 Subject: [PATCH] EasyPG: Rename epa-mail-minor-mode to epa-global-mail-mode. --- lisp/ChangeLog | 2 +- lisp/epa-mail.el | 4 ++-- lisp/epa.el | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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) -- 2.39.5