[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] typo in org-babel
From: |
Dan Davison |
Subject: |
Re: [Orgmode] typo in org-babel |
Date: |
Thu, 23 Jul 2009 11:12:41 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Stephan Schmitt <address@hidden> 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.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode