mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
(tq-queue-pop): Stifle error when a process has died and we are trying
to send a signal to it.
This commit is contained in:
parent
7bbb629a97
commit
5fbd207936
1 changed files with 3 additions and 2 deletions
|
|
@ -100,8 +100,9 @@ to a tcp server on another machine."
|
|||
(defun tq-queue-pop (tq)
|
||||
(setcar tq (cdr (car tq)))
|
||||
(let ((question (tq-queue-head-question tq)))
|
||||
(when question
|
||||
(process-send-string (tq-process tq) question)))
|
||||
(condition-case nil
|
||||
(process-send-string (tq-process tq) question)
|
||||
(error nil)))
|
||||
(null (car tq)))
|
||||
|
||||
(defun tq-enqueue (tq question regexp closure fn &optional delay-question)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue