Function: ht-merge
ht-merge is a byte-compiled function defined in ht.el.
Signature
(ht-merge &rest TABLES)
Documentation
Crete a new table that includes all the key-value pairs from TABLES.
If multiple tables have the same key, the value in the last table is used.
Source Code
;; Defined in ~/.emacs.d/elpa/ht-20230703.558/ht.el
(defun ht-merge (&rest tables)
"Crete a new table that includes all the key-value pairs from TABLES.
If multiple tables have the same key, the value in the last
table is used."
(let ((merged (ht-create)))
(mapc (lambda (table) (ht-update! merged table)) tables)
merged))