Fix timing problem of Bug#2412.
(epg-wait-for-completion): Sleep after the process exits, to allow process-filter to run (Bug#2412).
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
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."
|
||||
|
||||
Reference in New Issue
Block a user