Function: org-capture-position-for-last-stored
org-capture-position-for-last-stored is a byte-compiled function
defined in org-capture.el.gz.
Signature
(org-capture-position-for-last-stored POSITION)
Documentation
Put POSITION on org-capture-plist for future use as `last capture`.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-capture.el.gz
(defun org-capture-position-for-last-stored (position)
"Put POSITION on `org-capture-plist' for future use as `last capture`."
(cond
((integerp position)
(org-capture-put :position-for-last-stored
(move-marker (make-marker) position
(or (buffer-base-buffer (current-buffer))
(current-buffer)))))
((eq position 'table-line)
(org-capture-put :position-for-last-stored
(list 'table-line
(org-table-current-dline))))
(t (error "This should not happen"))))