2007-01-29 Daiki Ueno <ueno@unixuser.org>
+ * 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.
;;;###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 ()
(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