Initial Commit
[packages] / xemacs-packages / easypg / epa-setup.el
1 ;;; epa-setup.el --- setup routine for the EasyPG Assistant.
2 ;; Copyright (C) 2006,2007,2008 Daiki Ueno
3
4 ;; Author: Daiki Ueno <ueno@unixuser.org>
5 ;; Keywords: PGP, GnuPG
6
7 ;; This file is part of EasyPG.
8
9 ;; This program is free software; you can redistribute it and/or modify
10 ;; it under the terms of the GNU General Public License as published by
11 ;; the Free Software Foundation; either version 2, or (at your option)
12 ;; any later version.
13
14 ;; This program is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 ;; GNU General Public License for more details.
18
19 ;; You should have received a copy of the GNU General Public License
20 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
21 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22 ;; Boston, MA 02110-1301, USA.
23
24 ;;; Code:
25
26 (autoload 'epa-list-keys "epa")
27
28 (autoload 'epa-dired-mode-hook "epa-dired")
29 (add-hook 'dired-mode-hook 'epa-dired-mode-hook)
30
31 (require 'epa-file)
32 (epa-file-enable)
33
34 (autoload 'epa-mail-mode "epa-mail")
35 (add-hook 'mail-mode-hook 'epa-mail-mode)
36
37 (provide 'epa-setup)
38
39 ;;; epa-setup.el ends here