emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Mikael Fornius <mfo@abc.se>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] org-table: reference to free variable `line'
Date: Thu, 25 Mar 2010 12:47:59 +0100	[thread overview]
Message-ID: <E823A1EF-83CF-45B3-A776-37DF3CB7D765@gmail.com> (raw)
In-Reply-To: <87d3ysd4w9.fsf@eee.lan>

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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

      reply	other threads:[~2010-03-25 11:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 11:20 [PATCH] org-table: reference to free variable `line' Mikael Fornius
2010-03-25 11:47 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E823A1EF-83CF-45B3-A776-37DF3CB7D765@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mfo@abc.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).