Function: mh-thread-initialize-hash

mh-thread-initialize-hash is a macro defined in mh-thread.el.gz.

Signature

(mh-thread-initialize-hash VAR TEST)

Documentation

Initialize the hash table in VAR.

TEST is the test to use when creating a new hash table.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-thread.el.gz
(defmacro mh-thread-initialize-hash (var test)
  "Initialize the hash table in VAR.
TEST is the test to use when creating a new hash table."
  (unless (symbolp var) (error "Expected a symbol: %s" var))
  `(if ,var (clrhash ,var) (setq ,var (make-hash-table :test ,test))))