emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stephan Schmitt <drmabuse@cs.tu-berlin.de>
To: emacs-orgmode@gnu.org
Subject: typo in org-babel
Date: Thu, 23 Jul 2009 12:26:42 +0200	[thread overview]
Message-ID: <4A683AE2.60303@cs.tu-berlin.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 115 bytes --]

Hello,

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

Best,
	Stephan

[-- Attachment #2: patchfile --]
[-- Type: text/plain, Size: 453 bytes --]

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 "\\(: \\|\\[\\[\\)")

[-- Attachment #3: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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 10:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-23 10:26 Stephan Schmitt [this message]
2009-07-23 15:12 ` typo in org-babel Dan Davison

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=4A683AE2.60303@cs.tu-berlin.de \
    --to=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).