diff options
author | Daiki Ueno <ueno@unixuser.org> | 2008-12-10 01:35:39 +0000 |
---|---|---|
committer | Daiki Ueno <ueno@unixuser.org> | 2008-12-10 01:35:39 +0000 |
commit | 8e3efc87f39efa8a4bdfe6eb92190226c4302599 (patch) | |
tree | 6bb0bb5d1530fb2d79d3b814b03dbcb46be09960 /lisp/epa-hook.el | |
parent | 2133e2d13894855f7c44f1dd2fe1e90f49991c51 (diff) | |
download | emacs-8e3efc87f39efa8a4bdfe6eb92190226c4302599.tar.gz |
* 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.
Diffstat (limited to 'lisp/epa-hook.el')
-rw-r--r-- | lisp/epa-hook.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/epa-hook.el b/lisp/epa-hook.el index dc2f535f7d0..f7110cea8bd 100644 --- a/lisp/epa-hook.el +++ b/lisp/epa-hook.el @@ -79,8 +79,7 @@ May either be a string or a list of strings.") (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. |