Function: org-table-goto-line

org-table-goto-line is a byte-compiled function defined in org-table.el.gz.

Signature

(org-table-goto-line N)

Documentation

Go to the Nth data line in the current table.

Return t when the line exists, nil if it does not exist.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-table.el.gz
(defun org-table-goto-line (N)
  "Go to the Nth data line in the current table.
Return t when the line exists, nil if it does not exist."
  (goto-char (org-table-begin))
  (let ((end (org-table-end)) (cnt 0))
    (while (and (re-search-forward org-table-dataline-regexp end t)
		(< (setq cnt (1+ cnt)) N)))
    (= cnt N)))