From d72feeb09bea8e940c1a4d57aacc94c12c84a34f Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Tue, 2 Apr 2024 15:49:01 +0300 Subject: [PATCH] lisp/ox.el (org-export-table-row-number): Clarify docstring --- lisp/ox.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/ox.el b/lisp/ox.el index 9ca19db43..caac4c9aa 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -5417,10 +5417,11 @@ INFO is a plist used as a communication channel." (org-export-table-row-ends-rowgroup-p table-row info))) (defun org-export-table-row-number (table-row info) - "Return TABLE-ROW number. + "Return TABLE-ROW number in the exported table. INFO is a plist used as a communication channel. Return value is zero-indexed and ignores separators. The function returns nil -for special rows and separators." +when TABLE-ROW is a separator or when it is listed in :ignore-list +property of the INFO plist." (when (eq (org-element-property :type table-row) 'standard) (let* ((cache (or (plist-get info :table-row-number-cache) (let ((table (make-hash-table :test #'eq)))