Function: mh-thread-id-container

mh-thread-id-container is a byte-compiled function defined in mh-thread.el.gz.

Signature

(mh-thread-id-container ID)

Documentation

Given ID, return the corresponding container in mh-thread-id-table.

If no container exists then a suitable container is created and the id-table is updated.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-thread.el.gz
(defsubst mh-thread-id-container (id)
  "Given ID, return the corresponding container in `mh-thread-id-table'.
If no container exists then a suitable container is created and
the id-table is updated."
  (when (not id)
    (error "1"))
  (or (gethash id mh-thread-id-table)
      (setf (gethash id mh-thread-id-table)
            (let ((message (mh-thread-make-message :id id)))
              (mh-thread-make-container :message message)))))