X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=epa-file.el;h=d4c9fb262fe926c474606f55300d396e4b9162a2;hb=1e72feccfd861a57c5f86b154f1fb42af731c853;hp=961897e9bd13abf53ed42bff5b334bbfff01efe8;hpb=43843db1ca55bfaaa716b282c3473db3a993fc80;p=elisp%2Fepg.git diff --git a/epa-file.el b/epa-file.el index 961897e..d4c9fb2 100644 --- a/epa-file.el +++ b/epa-file.el @@ -133,14 +133,12 @@ context (if (stringp start) (encode-coding-string start coding-system) - (encode-coding-string (buffer-string start end) + (encode-coding-string (buffer-substring start end) coding-system)) - (mapcar (lambda (key) - (epg-sub-key-id (car (epg-key-sub-key-list key)))) - (unless (assoc file epa-file-passphrase-alist) + (unless (assoc file epa-file-passphrase-alist) (epa-select-keys "Select recipents for encryption. -If no one is selected, symmetric encryption will be performed. "))))) +If no one is selected, symmetric encryption will be performed. ")))) (error (if (setq entry (assoc file epa-file-passphrase-alist)) (setcdr entry nil))