[O] [PATCH] ob-lilypond.el compiler error fix org-babel-tangle not defined function

2011-07-08 Thread Matthew Sauer
---
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 ())
---


ob-lilypond.el.diff
Description: Binary data


Re: [O] [PATCH] ob-lilypond.el compiler error fix org-babel-tangle not defined function

2011-07-08 Thread Bastien
Hi Matthew,

Matthew Sauer improv.philoso...@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



Re: [O] [PATCH] ob-lilypond.el compiler error fix org-babel-tangle not defined function

2011-07-08 Thread Eric Schulte
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.philoso...@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/



Re: [O] [PATCH] ob-lilypond.el compiler error fix org-babel-tangle not defined function

2011-07-08 Thread Bastien
Eric Schulte schulte.e...@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