Function: org-capture-goto-target
org-capture-goto-target is an interactive and byte-compiled function
defined in org-capture.el.gz.
Signature
(org-capture-goto-target &optional TEMPLATE-KEY)
Documentation
Go to the target location of a capture template.
If TEMPLATE-KEY is nil, the user is queried for the template.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-capture.el.gz
(defun org-capture-goto-target (&optional template-key)
"Go to the target location of a capture template.
If TEMPLATE-KEY is nil, the user is queried for the template."
(interactive)
(let ((entry (org-capture-select-template template-key)))
(unless entry (error "No capture template selected"))
(org-capture-set-plist entry)
(org-capture-set-target-location)
(pop-to-buffer-same-window (org-capture-get :buffer))
(goto-char (org-capture-get :pos))))