Function: remhash

remhash is a function defined in fns.c.

Signature

(remhash KEY TABLE)

Documentation

Remove KEY from TABLE.

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
(remhash 'key table)
    => nil

Aliases

cl-remhash (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_remove_from_table (h, key);
  return Qnil;
}