Function: org-table-find-dataline
org-table-find-dataline is a byte-compiled function defined in
org-table.el.gz.
Signature
(org-table-find-dataline)
Documentation
Find a data line in the current table, which is needed for column commands.
This function assumes point is in a table. Raise an error when there is no data row below.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-table.el.gz
(defun org-table-find-dataline ()
"Find a data line in the current table, which is needed for column commands.
This function assumes point is in a table. Raise an error when
there is no data row below."
(or (not (org-at-table-hline-p))
(let ((col (current-column))
(end (org-table-end)))
(forward-line)
(while (and (< (point) end) (org-at-table-hline-p))
(forward-line))
(when (>= (point) end)
(user-error "Cannot find data row for column operation"))
(org-move-to-column col)
t)))