[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-babel and compilation log
From: |
Eric Schulte |
Subject: |
Re: [O] org-babel and compilation log |
Date: |
Fri, 10 May 2013 11:11:12 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
>
> I didn't know this before. But my point here is to byte compile my
> .emacs.el for the next session. (I have dotEmacs.org ->> .emacs.elc)
>
`org-babel-load-file' does support an optional compile argument.
,----
| org-babel-load-file is an interactive autoloaded compiled Lisp
| function in `org.el'.
|
| (org-babel-load-file FILE &optional COMPILE)
|
| Load Emacs Lisp source code blocks in the Org-mode FILE.
| This function exports the source code using `org-babel-tangle'
| and then loads the resulting file using `load-file'. With prefix
| arg (noninteractively: 2nd arg) COMPILE the tangled Emacs Lisp
| file to byte-code before it is loaded.
|
| [back]
`----
>
>> Look at the `org-babel-tangle-jump-to-org' function, for it to work you
>> may need to tangle with the ":comments" header argument set to "link".
>
> Great this is really what I'm looking for.
>
> Thanks a lot !!
>
Great, happy to help.
--
Eric Schulte
http://cs.unm.edu/~eschulte