Function: org-table-check-inside-data-field

org-table-check-inside-data-field is a byte-compiled function defined in org-table.el.gz.

Signature

(org-table-check-inside-data-field &optional NOERROR ASSUME-TABLE)

Documentation

Non-nil when point is inside a table data field.

Raise an error otherwise, unless NOERROR is non-nil. In that case, return nil if point is not inside a data field. When optional argument ASSUME-TABLE is non-nil, assume point is within a table.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-table.el.gz
(defun org-table-check-inside-data-field (&optional noerror assume-table)
  "Non-nil when point is inside a table data field.
Raise an error otherwise, unless NOERROR is non-nil.  In that
case, return nil if point is not inside a data field.  When
optional argument ASSUME-TABLE is non-nil, assume point is within
a table."
  (cond ((and (or assume-table (org-at-table-p))
	      (not (save-excursion (skip-chars-backward " \t") (bolp)))
	      (not (org-at-table-hline-p))
	      (not (looking-at-p "[ \t]*$"))))
	(noerror nil)
	(t (user-error "Not in table data field"))))