Function: org-id-hash-to-alist

org-id-hash-to-alist is a byte-compiled function defined in org-id.el.gz.

Signature

(org-id-hash-to-alist HASH)

Documentation

Turn an org-id HASH into an alist.

This is to be able to write it to a file.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-id.el.gz
(defun org-id-hash-to-alist (hash)
  "Turn an org-id HASH into an alist.
This is to be able to write it to a file."
  (let (res x)
    (maphash
     (lambda (k v)
       (if (setq x (assoc v res))
	   (setcdr x (cons k (cdr x)))
	 (push (list v k) res)))
     hash)
    res))