Function: org-beginning-of-dblock

org-beginning-of-dblock is a byte-compiled function defined in org.el.gz.

Signature

(org-beginning-of-dblock)

Documentation

Find the beginning of the dynamic block at point.

Error if there is no such block at point.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-beginning-of-dblock ()
  "Find the beginning of the dynamic block at point.
Error if there is no such block at point."
  (let ((pos (point))
	beg)
    (end-of-line 1)
    (if (and (re-search-backward org-dblock-start-re nil t)
	     (setq beg (match-beginning 0))
	     (re-search-forward org-dblock-end-re nil t)
	     (> (match-end 0) pos))
	(goto-char beg)
      (goto-char pos)
      (error "Not in a dynamic block"))))