Commit de22b81d authored by Daiki Ueno's avatar Daiki Ueno

Fix timing problem of Bug#2412.

(epg-wait-for-completion): Sleep after the process
exits, to allow process-filter to run (Bug#2412).
parent 50f13b3e
2009-05-03 Daiki Ueno <ueno@unixuser.org>
* epg.el (epg-wait-for-completion): Sleep after the process
exits, to allow process-filter to run (Bug#2412).
* epa.el (epa--read-signature-type): Fix typo.
2009-05-02 Glenn Morris <rgm@gnu.org>
......
......@@ -1175,7 +1175,8 @@ This function is for internal use only."
(defun epg-wait-for-completion (context)
"Wait until the `epg-gpg-program' process completes."
(while (eq (process-status (epg-context-process context)) 'run)
(accept-process-output (epg-context-process context) 1)))
(accept-process-output (epg-context-process context) 1))
(sleep-for 0.1))
(defun epg-reset (context)
"Reset the CONTEXT."
......
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