Commit 47e49712 authored by Daiki Ueno's avatar Daiki Ueno
Browse files

(epg-wait-for-status): Check if there is no pending

status.
Reported by Ted Romer <ted@romerfamily.com>.
parent b082f792
2008-09-27 Daiki Ueno <ueno@unixuser.org>
* epg.el (epg-wait-for-status): Check if there is no pending
status.
Reported by Ted Romer <ted@romerfamily.com>.
2008-09-26 Dan Nicolaescu <dann@ics.uci.edu>
* startup.el (command-line): Turn on menu-bar-mode and
......
......@@ -1168,7 +1168,9 @@ This function is for internal use only."
(setq epg-pending-status-list status-list)
(while (and (eq (process-status (epg-context-process context)) 'run)
epg-pending-status-list)
(accept-process-output (epg-context-process context) 1))))
(accept-process-output (epg-context-process context) 1))
(if epg-pending-status-list
(epg-context-set-result-for context 'error 'exit))))
(defun epg-wait-for-completion (context)
"Wait until the `epg-gpg-program' process completes."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment