From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Schmitt Subject: typo in org-babel Date: Thu, 23 Jul 2009 12:26:42 +0200 Message-ID: <4A683AE2.60303@cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040900050804000805040808" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTvWq-0005Rw-K5 for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 06:28:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTvWl-0005Ot-EB for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 06:28:00 -0400 Received: from [199.232.76.173] (port=40669 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTvWk-0005Ok-L6 for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 06:27:54 -0400 Received: from mail.cs.tu-berlin.de ([130.149.17.13]:50704) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MTvWg-0001HG-21 for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 06:27:54 -0400 Received: from localhost (localhost [127.0.0.1]) by localhost-12225.cs.tu-berlin.de (Postfix) with ESMTP id 7029E30319 for ; Thu, 23 Jul 2009 12:27:44 +0200 (MEST) Received: from mailhost.cs.tu-berlin.de ([127.0.0.1]) by localhost (mail.cs.tu-berlin.de [127.0.0.1]) (amavisd-new, port 12224) with ESMTP id KySPZPbwuZUC 13838-12 for ; Thu, 23 Jul 2009 12:27:41 +0200 (MEST) 16340 Received: from [130.149.24.75] (algieba.ni.cs.tu-berlin.de [130.149.24.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: drmabuse) by mailhost.cs.tu-berlin.de (Postfix) with ESMTPSA for ; Thu, 23 Jul 2009 12:27:37 +0200 (MEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------040900050804000805040808 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello, evaluating a source-block with org-babel raised an error about 'looking-at-p' not defined. Best, Stephan --------------040900050804000805040808 Content-Type: text/plain; name="patchfile" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patchfile" 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 "\\(: \\|\\[\\[\\)") --------------040900050804000805040808 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --------------040900050804000805040808--