From: ueno Date: Mon, 17 Apr 2006 04:12:21 +0000 (+0000) Subject: Fixed custom. X-Git-Tag: epgsm-branchpoint~59 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cdbc96b705d4e3b521e37464323a66f114969ba;p=elisp%2Fepg.git Fixed custom. --- diff --git a/epa-file.el b/epa-file.el index e216999..62322c6 100644 --- a/epa-file.el +++ b/epa-file.el @@ -25,7 +25,7 @@ (require 'epa) -(defgroup 'epa-file +(defgroup 'epa-file nil "The EasyPG Assistant hooks for transparent file encryption" :group 'epa) @@ -47,7 +47,8 @@ (insert (epg-decrypt-file (epg-make-context) (expand-file-name (buffer-file-name)) nil)) - (delete-region (point) (point-max))) + (delete-region (point) (point-max)) + (decode-coding-region (point-min) (point-max) 'undecided)) (make-local-variable 'epa-file) (setq epa-file (buffer-file-name))))