From 6a8af224ee99d4766042b67131653e8bea7a73c8 Mon Sep 17 00:00:00 2001 From: ueno Date: Mon, 29 Jan 2007 03:43:30 +0000 Subject: [PATCH] * epa-setup.el (epa-mail-mode): Autoload. --- ChangeLog | 1 + epa-mail.el | 2 +- epa-setup.el | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 72200d8..990ef47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2007-01-29 Daiki Ueno + * epa-setup.el (epa-mail-mode): Autoload. * epa.el: Removed epa-*-mail stuff. * Makefile.am (EXTRA_DIST): Added epa-mail.el. * COMPILE (epg-modules): Added epa-mail. diff --git a/epa-mail.el b/epa-mail.el index d44371e..fc5d71b 100644 --- a/epa-mail.el +++ b/epa-mail.el @@ -39,7 +39,7 @@ ;;;###autoload (define-minor-mode epa-mail-mode "A minor-mode for composing encrypted/clearsigned mails." - nil nil epa-mail-mode-map) + "epa-mail" nil epa-mail-mode-map) ;;;###autoload (defun epa-mail-decrypt () diff --git a/epa-setup.el b/epa-setup.el index 7ae5f91..82690f5 100644 --- a/epa-setup.el +++ b/epa-setup.el @@ -6,6 +6,9 @@ (require 'epa-file) (epa-file-enable) +(autoload 'epa-mail-mode "epa-mail") +(add-hook 'mail-mode-hook 'epa-mail-mode) + (provide 'epa-setup) ;;; epa-setup.el ends here \ No newline at end of file -- 1.7.10.4