From: ueno Date: Mon, 29 Jan 2007 03:43:30 +0000 (+0000) Subject: * epa-setup.el (epa-mail-mode): Autoload. X-Git-Tag: epg-0_0_10~8 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=6a8af224ee99d4766042b67131653e8bea7a73c8;p=elisp%2Fepg.git * epa-setup.el (epa-mail-mode): Autoload. --- 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