Mercurial > emacs
diff lisp/epa-file.el @ 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 | 14eda1195ec3 |
children | e21a3997eb7c |
line wrap: on
line diff
--- 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