(require 'epa)
-(defgroup 'epa-file
+(defgroup 'epa-file nil
"The EasyPG Assistant hooks for transparent file encryption"
:group 'epa)
(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))))