Function: org-id-get-create
org-id-get-create is an autoloaded, interactive and byte-compiled
function defined in org-id.el.gz.
Signature
(org-id-get-create &optional FORCE)
Documentation
Create an ID for the current entry and return it.
If the entry already has an ID, just return it. With optional argument FORCE, force the creation of a new ID.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-id.el.gz
;;; The API functions
;;;###autoload
(defun org-id-get-create (&optional force)
"Create an ID for the current entry and return it.
If the entry already has an ID, just return it.
With optional argument FORCE, force the creation of a new ID."
(interactive "P")
(when force
(org-entry-put (point) "ID" nil))
(org-id-get (point) 'create))