Function: org-capture--position-cursor

org-capture--position-cursor is a byte-compiled function defined in org-capture.el.gz.

Signature

(org-capture--position-cursor BEG END)

Documentation

Move point to first "%?" location or at start of template.

BEG and END are buffer positions at the beginning and end position of the template.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-capture.el.gz
(defun org-capture--position-cursor (beg end)
  "Move point to first \"%?\" location or at start of template.
BEG and END are buffer positions at the beginning and end position
of the template."
  (goto-char beg)
  (when (search-forward "%?" end t)
    (replace-match "")))