Function: org-id-get-with-outline-drilling

org-id-get-with-outline-drilling is an autoloaded and byte-compiled function defined in org-id.el.gz.

Signature

(org-id-get-with-outline-drilling)

Documentation

Use an outline-cycling interface to retrieve the ID of an entry.

This only finds entries in the current buffer, using org-goto-location. It returns the ID of the entry. If necessary, the ID is created.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-id.el.gz
;;;###autoload
(defun org-id-get-with-outline-drilling ()
  "Use an outline-cycling interface to retrieve the ID of an entry.
This only finds entries in the current buffer, using `org-goto-location'.
It returns the ID of the entry.  If necessary, the ID is created."
  (let* ((spos (org-goto-location))
	 (pom (and spos (move-marker (make-marker) (car spos)))))
    (prog1 (org-id-get pom 'create)
      (move-marker pom nil))))