Browse Source

Fix typo in variable name.

Patch by Mikael Fornius.
Carsten Dominik 15 years ago
parent
commit
d1289ba906
2 changed files with 5 additions and 1 deletions
  1. 4 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-table.el

+ 4 - 0
lisp/ChangeLog

@@ -1,3 +1,7 @@
+2010-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
+
+	* org-table.el (org-table-goto-line): Fix typo.
+
 2010-03-25  Mikael Fornius  <mfo@abc.se>
 
 	* org.el (org-agenda-files): Typo.

+ 1 - 1
lisp/org-table.el

@@ -1043,7 +1043,7 @@ 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)))
+		(< (setq cnt (1+ cnt)) N)))
     (= cnt line)))
 
 (defun org-table-blank-field ()