Function: org-capture--run-template-functions

org-capture--run-template-functions is a byte-compiled function defined in org-capture.el.gz.

Signature

(org-capture--run-template-functions KEYWORD &optional LOCAL)

Documentation

Run functions associated with KEYWORD on template's plist.

For valid values of KEYWORD see org-capture-templates. If LOCAL is non-nil use the buffer-local value of org-capture-plist.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-capture.el.gz
(defun org-capture--run-template-functions (keyword &optional local)
  "Run functions associated with KEYWORD on template's plist.
For valid values of KEYWORD see `org-capture-templates'.
If LOCAL is non-nil use the buffer-local value of `org-capture-plist'."
  ;; Used in place of `run-hooks' because these functions have no associated symbol.
  ;; They are stored directly on `org-capture-plist'.
  (let ((value (org-capture-get keyword local)))
    (if (functionp value)
        (funcall value)
      (mapc #'funcall value))))