Mercurial > emacs
diff lisp/epa-hook.el @ 100304:4dfef179eed3
* epa-hook.el (epa-file-find-file-hook): Don't mark the current
buffer unmodified. (Bug#1509)
* epa-file.el (epa-file-insert-file-contents): Set buffer's
modification time if visiting a file and the content is
successfully decrypted.
author | Daiki Ueno <ueno@unixuser.org> |
---|---|
date | Wed, 10 Dec 2008 01:35:39 +0000 |
parents | 2b066c2202f5 |
children | a9dc0e7c3f2b |
line wrap: on
line diff
--- a/lisp/epa-hook.el Wed Dec 10 01:04:19 2008 +0000 +++ b/lisp/epa-hook.el Wed Dec 10 01:35:39 2008 +0000 @@ -79,8 +79,7 @@ (if (and buffer-file-name (string-match epa-file-name-regexp buffer-file-name) epa-file-inhibit-auto-save) - (auto-save-mode 0)) - (set-buffer-modified-p nil)) + (auto-save-mode 0))) (define-minor-mode auto-encryption-mode "Toggle automatic file encryption and decryption.