Function: thread-handle-event

thread-handle-event is an autoloaded, interactive and byte-compiled function defined in thread.el.gz.

Signature

(thread-handle-event EVENT)

Documentation

Handle thread events, propagated by thread-signal.

An EVENT has the format
  (thread-event THREAD ERROR-SYMBOL DATA)

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/thread.el.gz
;;;###autoload
(defun thread-handle-event (event)
  "Handle thread events, propagated by `thread-signal'.
An EVENT has the format
  (thread-event THREAD ERROR-SYMBOL DATA)"
  (interactive "e")
  (if (and (consp event)
           (eq (car event) 'thread-event)
	   (= (length event) 4))
      (let ((thread (cadr event))
            (err (cddr event)))
        (message "Error %s: %S" thread err))))