diff options
| author | Daiki Ueno | 2009-09-23 00:22:08 +0000 |
|---|---|---|
| committer | Daiki Ueno | 2009-09-23 00:22:08 +0000 |
| commit | 7bda18ccca8cf97874e93d18cf3136c33e2e9df0 (patch) | |
| tree | 0ed8c75c7aa0ed9debd40060a12690be43ac56f6 | |
| parent | 0aa4f295f59c1e4cb3dae225a1ae82759f8953fa (diff) | |
| download | emacs-7bda18ccca8cf97874e93d18cf3136c33e2e9df0.tar.gz emacs-7bda18ccca8cf97874e93d18cf3136c33e2e9df0.zip | |
(epg-wait-for-status): Preserve existing 'error results.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/epg.el | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c9c47e46f83..17b18166667 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2009-09-23 Daiki Ueno <ueno@unixuser.org> | ||
| 2 | |||
| 3 | * epg.el (epg-wait-for-status): Preserve existing 'error results. | ||
| 4 | |||
| 1 | 2009-09-22 Sam Steingold <sds@gnu.org> | 5 | 2009-09-22 Sam Steingold <sds@gnu.org> |
| 2 | 6 | ||
| 3 | * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing. | 7 | * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing. |
diff --git a/lisp/epg.el b/lisp/epg.el index d80e966c942..b8eb2b48ea7 100644 --- a/lisp/epg.el +++ b/lisp/epg.el | |||
| @@ -1187,7 +1187,10 @@ This function is for internal use only." | |||
| 1187 | epg-pending-status-list) | 1187 | epg-pending-status-list) |
| 1188 | (accept-process-output (epg-context-process context) 1)) | 1188 | (accept-process-output (epg-context-process context) 1)) |
| 1189 | (if epg-pending-status-list | 1189 | (if epg-pending-status-list |
| 1190 | (epg-context-set-result-for context 'error 'exit)))) | 1190 | (epg-context-set-result-for |
| 1191 | context 'error | ||
| 1192 | (cons (list 'exit) | ||
| 1193 | (epg-context-result-for context 'error)))))) | ||
| 1191 | 1194 | ||
| 1192 | (defun epg-wait-for-completion (context) | 1195 | (defun epg-wait-for-completion (context) |
| 1193 | "Wait until the `epg-gpg-program' process completes." | 1196 | "Wait until the `epg-gpg-program' process completes." |