Function: org-table-begin

org-table-begin is an autoloaded and byte-compiled function defined in org-table.el.gz.

Signature

(org-table-begin &optional TABLE-TYPE)

Documentation

Find the beginning of the table and return its position.

With a non-nil optional argument TABLE-TYPE, return the beginning of a table.el-type table. This function assumes point is on a table.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-table.el.gz
;;; Navigation and Structure Editing

;;;###autoload
(defun org-table-begin (&optional table-type)
  "Find the beginning of the table and return its position.
With a non-nil optional argument TABLE-TYPE, return the beginning
of a table.el-type table.  This function assumes point is on
a table."
  (cond (table-type
	 (org-element-post-affiliated (org-element-at-point)))
	((save-excursion
	   (and (re-search-backward org-table-border-regexp nil t)
		(line-beginning-position 2))))
	(t (point-min))))