emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [PATCH] org-table: reference to free variable `line'


From: Carsten Dominik
Subject: Re: [Orgmode] [PATCH] org-table: reference to free variable `line'
Date: Thu, 25 Mar 2010 12:47:59 +0100

Applied, thanks.

- Carsten

On Mar 25, 2010, at 12:20 PM, Mikael Fornius wrote:


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
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten







reply via email to

[Prev in Thread] Current Thread [Next in Thread]