Function: hash-copy

hash-copy is a byte-compiled function defined in hasht.el.

Signature

(hash-copy HASH-TABLE)

Documentation

Return a copy of HASH-TABLE.

List and vector elements are shared across both tables.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20261018.1143/hasht.el
(defun hash-copy (hash-table)
  "Return a copy of HASH-TABLE.
List and vector elements are shared across both tables."
  (unless (hash-table-p hash-table)
    (error "(hash-copy): Invalid hash-table: `%s'" hash-table))
  (copy-hash-table hash-table))