diff --git a/lisp/org-table.el b/lisp/org-table.el index 670edcb..9614608 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -1043,8 +1043,8 @@ 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)) line))) - (= cnt line))) + (< (setq cnt (1+ cnt)) N))) + (= cnt N))) (defun org-table-blank-field () "Blank the current table field or active region."