Function: org-id-find-id-file

org-id-find-id-file is an autoloaded and byte-compiled function defined in org-id.el.gz.

Signature

(org-id-find-id-file ID)

Documentation

Query the id database for the file in which ID is located.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-id.el.gz
;; Finding entries with specified id

;;;###autoload
(defun org-id-find-id-file (id)
  "Query the id database for the file in which ID is located."
  (unless org-id-locations (org-id-locations-load))
  (or (and org-id-locations
	   (hash-table-p org-id-locations)
	   (gethash id org-id-locations))
      ;; Fall back on current buffer
      (buffer-file-name (or (buffer-base-buffer (current-buffer))
			    (current-buffer)))))