view lisp/epa-setup.el @ 91674:31216f583b8a

(selection-coding-system): Make it a defcustom, and add the properties from cus-start.el. Bump :version.
author Glenn Morris <rgm@gnu.org>
date Fri, 08 Feb 2008 20:16:35 +0000
parents f9692dfe86e7
children d125b90283d2
line wrap: on
line source

;;; epa-setup.el --- setup routine for the EasyPG Assistant.
;; Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.

;; Author: Daiki Ueno <ueno@unixuser.org>
;; Keywords: PGP, GnuPG

;; This file is part of GNU Emacs.

;; GNU Emacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.

;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING.  If not, write to the
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.

;;; Code:

(autoload 'epa-list-keys "epa")

(autoload 'epa-dired-mode-hook "epa-dired")
(add-hook 'dired-mode-hook 'epa-dired-mode-hook)

(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