X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=epg.el;h=e3ff7cda11ca2dd6a7304e99a9cafc8704d33204;hb=372371d54ef4c1060f3cfc70e557b28f4a4f8ee1;hp=9a5f46e3d8dd4fe5b7498075f3d80604254bbcb2;hpb=2b454083c640ad93a1adb7cf135885b54c0986f6;p=elisp%2Fepg.git diff --git a/epg.el b/epg.el index 9a5f46e..e3ff7cd 100644 --- a/epg.el +++ b/epg.el @@ -375,7 +375,8 @@ This function is for internal use only." "Start `epg-gpg-program' in a subprocess with given ARGS." (let* ((args (append (list "--no-tty" "--status-fd" "1" - "--command-fd" "0") + "--command-fd" "0" + "--yes") (if (epg-context-armor context) '("--armor")) (if (epg-context-textmode context) '("--textmode")) (if (epg-context-output-file context) @@ -658,8 +659,9 @@ This function is for internal use only." (if (string-match "\\`\\([0-9]+\\) \\(.*\\)" string) (epg-context-set-result-for epg-context 'error - (cons (cons 'invalid-recipient - (string-to-number (match-string 1 string))) + (cons (list 'invalid-recipient + (string-to-number (match-string 1 string)) + (match-string 2 string)) (epg-context-result-for epg-context 'error))))) (defun epg-status-NO_RECP (process string)