Function: org-dynamic-block-define
org-dynamic-block-define is an autoloaded and byte-compiled function
defined in org.el.gz.
Signature
(org-dynamic-block-define TYPE FUNC)
Documentation
Define dynamic block TYPE with FUNC.
TYPE is a string. FUNC is the function creating the dynamic block of such type. FUNC must be able to accept zero arguments.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
;;;###org-autoload
(defun org-dynamic-block-define (type func)
"Define dynamic block TYPE with FUNC.
TYPE is a string. FUNC is the function creating the dynamic
block of such type. FUNC must be able to accept zero arguments."
(pcase (assoc type org-dynamic-block-alist)
(`nil (push (cons type func) org-dynamic-block-alist))
(def (setcdr def func))))