Mercurial > emacs
changeset 95477:57f3dde2b9be
(epa-file-write-region): Write the entire buffer
content if START is nil.
author | Daiki Ueno <ueno@unixuser.org> |
---|---|
date | Mon, 02 Jun 2008 05:09:36 +0000 |
parents | 698af1a04b6c |
children | e21a3997eb7c |
files | lisp/ChangeLog lisp/epa-file.el |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Mon Jun 02 04:07:43 2008 +0000 +++ b/lisp/ChangeLog Mon Jun 02 05:09:36 2008 +0000 @@ -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
--- a/lisp/epa-file.el Mon Jun 02 04:07:43 2008 +0000 +++ b/lisp/epa-file.el Mon Jun 02 05:09:36 2008 +0000 @@ -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