projects
/
elisp
/
epg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d9a0c1d
)
Fixed custom.
author
ueno
<ueno>
Mon, 17 Apr 2006 04:12:21 +0000
(
04:12
+0000)
committer
ueno
<ueno>
Mon, 17 Apr 2006 04:12:21 +0000
(
04:12
+0000)
epa-file.el
patch
|
blob
|
history
diff --git
a/epa-file.el
b/epa-file.el
index
e216999
..
62322c6
100644
(file)
--- a/
epa-file.el
+++ b/
epa-file.el
@@
-25,7
+25,7
@@
(require 'epa)
(require 'epa)
-(defgroup 'epa-file
+(defgroup 'epa-file nil
"The EasyPG Assistant hooks for transparent file encryption"
:group 'epa)
"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))
(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))))
(make-local-variable 'epa-file)
(setq epa-file (buffer-file-name))))