diff options
| -rw-r--r-- | lisp/emacs-lisp/tq.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/tq.el b/lisp/emacs-lisp/tq.el index b12c21b6730..f20015fd720 100644 --- a/lisp/emacs-lisp/tq.el +++ b/lisp/emacs-lisp/tq.el | |||
| @@ -100,8 +100,9 @@ to a tcp server on another machine." | |||
| 100 | (defun tq-queue-pop (tq) | 100 | (defun tq-queue-pop (tq) |
| 101 | (setcar tq (cdr (car tq))) | 101 | (setcar tq (cdr (car tq))) |
| 102 | (let ((question (tq-queue-head-question tq))) | 102 | (let ((question (tq-queue-head-question tq))) |
| 103 | (when question | 103 | (condition-case nil |
| 104 | (process-send-string (tq-process tq) question))) | 104 | (process-send-string (tq-process tq) question) |
| 105 | (error nil))) | ||
| 105 | (null (car tq))) | 106 | (null (car tq))) |
| 106 | 107 | ||
| 107 | (defun tq-enqueue (tq question regexp closure fn &optional delay-question) | 108 | (defun tq-enqueue (tq question regexp closure fn &optional delay-question) |