Emacs Lisp: Hash Table to List
Hash to List
(defun xah-hash-to-list (HashTable) "Return a list that represent the HASHTABLE Each element is a proper list: (key value). URL `http://xahlee.info/emacs/emacs/elisp_hash_table_to_list.html' Version 2019-06-11 2022-05-28 2022-09-22" (let ((xx nil)) (maphash (lambda (k v) (push (list k v) xx)) HashTable) xx))