emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dan Davison <davison@stats.ox.ac.uk>
To: Stephan Schmitt <drmabuse@cs.tu-berlin.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: typo in org-babel
Date: Thu, 23 Jul 2009 11:12:41 -0400	[thread overview]
Message-ID: <87r5w777rq.fsf@stats.ox.ac.uk> (raw)
In-Reply-To: <4A683AE2.60303@cs.tu-berlin.de> (Stephan Schmitt's message of "Thu, 23 Jul 2009 12:26:42 +0200")

Stephan Schmitt <drmabuse@cs.tu-berlin.de> writes:

> Hello,
>
> evaluating a source-block with org-babel raised an error about 'looking-at-p'
> not defined.

Thanks Stephan,
I've applied that and checked for other occurrences. (I believe
looking-at-p is new in emacs23.)
Dan

>
> Best,
> 	Stephan
> diff --git lisp/org-babel.el lisp/org-babel.el
> index a6345eb..e2a24eb 100644
> --- lisp/org-babel.el
> +++ lisp/org-babel.el
> @@ -454,7 +454,7 @@ relies on `org-babel-insert-result'."
>      (if (org-at-table-p)
>          (org-table-end)
>        (let ((case-fold-search nil))
> -	(if (looking-at-p "#\\+begin_example")
> +	(if (looking-at "#\\+begin_example")
>  	    (search-forward "#+end_example" nil t)
>  	  (progn
>  	    (while (if (looking-at "\\(: \\|\\[\\[\\)")
q> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2009-07-23 15:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-23 10:26 typo in org-babel Stephan Schmitt
2009-07-23 15:12 ` Dan Davison [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=87r5w777rq.fsf@stats.ox.ac.uk \
    --to=davison@stats.ox.ac.uk \
    --cc=drmabuse@cs.tu-berlin.de \
    --cc=emacs-orgmode@gnu.org \
    /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).