(epa-file-write-region): Write the entire buffer

content if START is nil.
This commit is contained in:
Daiki Ueno 2008-06-02 05:09:36 +00:00
parent 1d1e124535
commit 6843296d5b
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2008-06-02 Daiki Ueno <ueno@unixuser.org>
* epa-file.el (epa-file-write-region): Write the entire buffer
content if START is nil.
2008-06-01 Magnus Henoch <mange@freemail.hu>
* play/cookie1.el: Remove obsolete TO DO comment. (It was

View file

@ -182,6 +182,9 @@
context
(if (stringp start)
(epa-file--encode-coding-string start coding-system)
(unless start
(setq start (point-min))
(setq end (point-max)))
(epa-file--encode-coding-string (buffer-substring start end)
coding-system))
(if (or epa-file-select-keys