emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] ob-lilypond.el compiler error fix org-babel-tangle not defined function
@ 2011-07-08 15:03 Matthew Sauer
  2011-07-08 15:31 ` Eric Schulte
  2011-07-08 15:34 ` Bastien
  0 siblings, 2 replies; 4+ messages in thread
From: Matthew Sauer @ 2011-07-08 15:03 UTC (permalink / raw)
  To: Org Mode Mailing List

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

---
diff --git a/lisp/ob-lilypond.el b/lisp/ob-lilypond.el
index 6971a69..5a08ca4 100644
--- a/lisp/ob-lilypond.el
+++ b/lisp/ob-lilypond.el
@@ -30,6 +30,7 @@
 ;;; Code:
 (require 'ob)
 (require 'ob-eval)
+(require 'ob-tangle) ;;compiler requesting fun org-babel-tangle
 (defalias 'lilypond-mode 'LilyPond-mode)

 (declare-function show-all "outline" ())
---

[-- Attachment #2: ob-lilypond.el.diff --]
[-- Type: application/octet-stream, Size: 352 bytes --]

diff --git a/lisp/ob-lilypond.el b/lisp/ob-lilypond.el
index 6971a69..5a08ca4 100644
--- a/lisp/ob-lilypond.el
+++ b/lisp/ob-lilypond.el
@@ -30,6 +30,7 @@
 ;;; Code:
 (require 'ob)
 (require 'ob-eval)
+(require 'ob-tangle) ;;compiler requesting fun org-babel-tangle
 (defalias 'lilypond-mode 'LilyPond-mode)
 
 (declare-function show-all "outline" ())

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ob-lilypond.el compiler error fix org-babel-tangle not defined function
  2011-07-08 15:03 [PATCH] ob-lilypond.el compiler error fix org-babel-tangle not defined function Matthew Sauer
@ 2011-07-08 15:31 ` Eric Schulte
  2011-07-08 15:59   ` Bastien
  2011-07-08 15:34 ` Bastien
  1 sibling, 1 reply; 4+ messages in thread
From: Eric Schulte @ 2011-07-08 15:31 UTC (permalink / raw)
  To: Matthew Sauer; +Cc: Org Mode Mailing List

I don't see this error when running make, I'm using the Emacs git head,
perhaps this is Emacs version specific?

-- Eric

Matthew Sauer <improv.philosophy@gmail.com> writes:

> ---
> diff --git a/lisp/ob-lilypond.el b/lisp/ob-lilypond.el
> index 6971a69..5a08ca4 100644
> --- a/lisp/ob-lilypond.el
> +++ b/lisp/ob-lilypond.el
> @@ -30,6 +30,7 @@
>  ;;; Code:
>  (require 'ob)
>  (require 'ob-eval)
> +(require 'ob-tangle) ;;compiler requesting fun org-babel-tangle
>  (defalias 'lilypond-mode 'LilyPond-mode)
>
>  (declare-function show-all "outline" ())
> ---
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ob-lilypond.el compiler error fix org-babel-tangle not defined function
  2011-07-08 15:03 [PATCH] ob-lilypond.el compiler error fix org-babel-tangle not defined function Matthew Sauer
  2011-07-08 15:31 ` Eric Schulte
@ 2011-07-08 15:34 ` Bastien
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2011-07-08 15:34 UTC (permalink / raw)
  To: Matthew Sauer; +Cc: Org Mode Mailing List

Hi Matthew,

Matthew Sauer <improv.philosophy@gmail.com> writes:

> ---
> diff --git a/lisp/ob-lilypond.el b/lisp/ob-lilypond.el
> index 6971a69..5a08ca4 100644
> --- a/lisp/ob-lilypond.el
> +++ b/lisp/ob-lilypond.el
> @@ -30,6 +30,7 @@
>  ;;; Code:
>  (require 'ob)
>  (require 'ob-eval)
> +(require 'ob-tangle) ;;compiler requesting fun org-babel-tangle
>  (defalias 'lilypond-mode 'LilyPond-mode)
>
>  (declare-function show-all "outline" ())

Applied, thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ob-lilypond.el compiler error fix org-babel-tangle not defined function
  2011-07-08 15:31 ` Eric Schulte
@ 2011-07-08 15:59   ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2011-07-08 15:59 UTC (permalink / raw)
  To: Eric Schulte; +Cc: Matthew Sauer, Org Mode Mailing List

Eric Schulte <schulte.eric@gmail.com> writes:

> I don't see this error when running make, I'm using the Emacs git head,
> perhaps this is Emacs version specific?

I don't think so: in ob-lilypond.el, the `ly-tangle' function calls
`org-babel-tangle', so requiring ob-tangle.el seems the right thing 
to do here.

No?

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-08 15:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-08 15:03 [PATCH] ob-lilypond.el compiler error fix org-babel-tangle not defined function Matthew Sauer
2011-07-08 15:31 ` Eric Schulte
2011-07-08 15:59   ` Bastien
2011-07-08 15:34 ` Bastien

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).