diff options
| author | Michael Olson | 2008-02-10 21:59:27 +0000 |
|---|---|---|
| committer | Michael Olson | 2008-02-10 21:59:27 +0000 |
| commit | 78df961d5989299fc8e663fd83a33ea65256efdd (patch) | |
| tree | 6ee5bb4fd0e315f8bfbf2da2e80d1f60bf8cbb24 | |
| parent | c53956feade4a83a7f3a18379aa83657f8976aa1 (diff) | |
| download | emacs-78df961d5989299fc8e663fd83a33ea65256efdd.tar.gz emacs-78df961d5989299fc8e663fd83a33ea65256efdd.zip | |
EasyPG: Rename epa-mail-minor-mode to epa-global-mail-mode.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/epa-mail.el | 4 | ||||
| -rw-r--r-- | 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 @@ | |||
| 6 | (epg-bug-report-address): New constant. | 6 | (epg-bug-report-address): New constant. |
| 7 | 7 | ||
| 8 | * epa-mail.el (epa-mail-mode): Add autoload cookie. | 8 | * epa-mail.el (epa-mail-mode): Add autoload cookie. |
| 9 | (epa-mail-minor-mode): New global minor mode. | 9 | (epa-global-mail-mode): New global minor mode. |
| 10 | 10 | ||
| 11 | * epa-file.el (epa-file-mode): New global minor mode. | 11 | * epa-file.el (epa-file-mode): New global minor mode. |
| 12 | 12 | ||
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!" | |||
| 175 | (epa-import-armor-in-region (point-min) (point-max))) | 175 | (epa-import-armor-in-region (point-min) (point-max))) |
| 176 | 176 | ||
| 177 | ;;;###autoload | 177 | ;;;###autoload |
| 178 | (define-minor-mode epa-mail-minor-mode | 178 | (define-minor-mode epa-global-mail-mode |
| 179 | "Minor mode to hook EasyPG into Mail mode." | 179 | "Minor mode to hook EasyPG into Mail mode." |
| 180 | :global t :init-value nil :group 'epa-mail :version "23.1" | 180 | :global t :init-value nil :group 'epa-mail :version "23.1" |
| 181 | (remove-hook 'mail-mode-hook 'epa-mail-mode) | 181 | (remove-hook 'mail-mode-hook 'epa-mail-mode) |
| 182 | (if epa-mail-minor-mode | 182 | (if epa-global-mail-mode |
| 183 | (add-hook 'mail-mode-hook 'epa-mail-mode))) | 183 | (add-hook 'mail-mode-hook 'epa-mail-mode))) |
| 184 | 184 | ||
| 185 | (provide 'epa-mail) | 185 | (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." | |||
| 47 | 47 | ||
| 48 | (defcustom epa-global-minor-modes '(epa-dired-mode | 48 | (defcustom epa-global-minor-modes '(epa-dired-mode |
| 49 | epa-file-mode | 49 | epa-file-mode |
| 50 | epa-mail-minor-mode | 50 | epa-global-mail-mode |
| 51 | epa-menu-mode) | 51 | epa-menu-mode) |
| 52 | "Globally defined minor modes to hook into other modes." | 52 | "Globally defined minor modes to hook into other modes." |
| 53 | :type '(repeat symbol) | 53 | :type '(repeat symbol) |