projects
/
elisp
/
epg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed.
[elisp/epg.git]
/
epa-file.el
diff --git
a/epa-file.el
b/epa-file.el
index
62322c6
..
093c66e
100644
(file)
--- a/
epa-file.el
+++ b/
epa-file.el
@@
-25,7
+25,7
@@
(require 'epa)
(require 'epa)
-(defgroup 'epa-file nil
+(defgroup epa-file nil
"The EasyPG Assistant hooks for transparent file encryption"
:group 'epa)
"The EasyPG Assistant hooks for transparent file encryption"
:group 'epa)
@@
-44,11
+44,14
@@
(hack-local-variables)
(auto-save-mode nil))
(goto-char (point-min))
(hack-local-variables)
(auto-save-mode nil))
(goto-char (point-min))
+ (if (fboundp 'set-buffer-multibyte)
+ (set-buffer-multibyte t))
(insert (epg-decrypt-file (epg-make-context)
(expand-file-name (buffer-file-name))
nil))
(delete-region (point) (point-max))
(insert (epg-decrypt-file (epg-make-context)
(expand-file-name (buffer-file-name))
nil))
(delete-region (point) (point-max))
- (decode-coding-region (point-min) (point-max) 'undecided))
+ (decode-coding-region (point-min) (point-max) 'undecided)
+ (set-buffer-modified-p nil))
(make-local-variable 'epa-file)
(setq epa-file (buffer-file-name))))
(make-local-variable 'epa-file)
(setq epa-file (buffer-file-name))))