* typo in org-babel
@ 2009-07-23 10:26 Stephan Schmitt
2009-07-23 15:12 ` Dan Davison
0 siblings, 1 reply; 2+ messages in thread
From: Stephan Schmitt @ 2009-07-23 10:26 UTC (permalink / raw)
To: emacs-orgmode
[-- 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: typo in org-babel
2009-07-23 10:26 typo in org-babel Stephan Schmitt
@ 2009-07-23 15:12 ` Dan Davison
0 siblings, 0 replies; 2+ messages in thread
From: Dan Davison @ 2009-07-23 15:12 UTC (permalink / raw)
To: Stephan Schmitt; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-23 15:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-23 10:26 typo in org-babel Stephan Schmitt
2009-07-23 15:12 ` Dan Davison
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).