Function: clrhash

clrhash is a function defined in fns.c.

Signature

(clrhash TABLE)

Documentation

Clear hash table TABLE and return it.

Other relevant functions are documented in the hash-table group.

View in manual

Probably introduced at or before Emacs version 21.1.

Shortdoc

;; hash-table
(clrhash table)
    => #s(hash-table ...)

Aliases

cl-clrhash (obsolete since 24.3)

Source Code

// Defined in /usr/src/emacs/src/fns.c
{
  struct Lisp_Hash_Table *h = check_hash_table (table);
  check_mutable_hash_table (table, h);
  hash_clear (h);
  /* Be compatible with XEmacs.  */
  return table;
}