From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: typo in org-babel Date: Thu, 23 Jul 2009 11:12:41 -0400 Message-ID: <87r5w777rq.fsf@stats.ox.ac.uk> References: <4A683AE2.60303@cs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTzyb-0006ZA-Df for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 11:12:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTzyW-0006Vt-Jz for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 11:12:56 -0400 Received: from [199.232.76.173] (port=42078 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTzyW-0006Vf-Ew for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 11:12:52 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:59866) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTzyV-0002hn-6Y for emacs-orgmode@gnu.org; Thu, 23 Jul 2009 11:12:51 -0400 In-Reply-To: <4A683AE2.60303@cs.tu-berlin.de> (Stephan Schmitt's message of "Thu, 23 Jul 2009 12:26:42 +0200") 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: Stephan Schmitt Cc: emacs-orgmode@gnu.org Stephan Schmitt 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