[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH] org-table: reference to free variable `line'
From: |
Mikael Fornius |
Subject: |
[Orgmode] [PATCH] org-table: reference to free variable `line' |
Date: |
Thu, 25 Mar 2010 12:20:22 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.92 (gnu/linux) |
As I compiled org-mode today I noticed a free variable and I think this
change fixes it.
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."
--
Mikael Fornius
- [Orgmode] [PATCH] org-table: reference to free variable `line',
Mikael Fornius <=