Function: org-id-alist-to-hash

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

Signature

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

Documentation

Turn an org-id location LIST into a hash table.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-id.el.gz
(defun org-id-alist-to-hash (list)
  "Turn an org-id location LIST into a hash table."
  (let ((res (make-hash-table
	      :test 'equal
	      :size (apply '+ (mapcar 'length list))))
	f)
    (mapc
     (lambda (x)
       (setq f (car x))
       (mapc (lambda (i) (puthash i f res)) (cdr x)))
     list)
    res))