Function: org-export-table-row-is-special-p
org-export-table-row-is-special-p is a byte-compiled function defined
in ox.el.gz.
Signature
(org-export-table-row-is-special-p TABLE-ROW _)
Documentation
Non-nil if TABLE-ROW is considered special.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
(defun org-export-table-row-is-special-p (table-row _)
"Non-nil if TABLE-ROW is considered special."
(when (eq (org-element-property :type table-row) 'standard)
(let ((first-cell (org-element-contents
(car (org-element-contents table-row)))))
;; A row is special either when...
(or
;; ... it starts with a field only containing "/",
(equal first-cell '("/"))
;; ... the table contains a special column and the row start
;; with a marking character among, "^", "_", "$" or "!",
(and (org-export-table-has-special-column-p
(org-element-parent table-row))
(member first-cell '(("^") ("_") ("$") ("!"))))
;; ... it contains only alignment cookies and empty cells.
(let ((special-row-p 'empty))
(catch 'exit
(dolist (cell (org-element-contents table-row))
(let ((value (org-element-contents cell)))
;; Since VALUE is a secondary string, the following
;; checks avoid expanding it with `org-export-data'.
(cond ((not value))
((and (not (cdr value))
(stringp (car value))
(string-match "\\`<[lrc]?\\([0-9]+\\)?>\\'"
(car value)))
(setq special-row-p 'cookie))
(t (throw 'exit nil)))))
(eq special-row-p 'cookie)))))))