diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2009-07-14 18:43:45 -0700 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2009-07-14 21:55:11 -0700 |
commit | 77c7fc81cc8689b82020680fc2cf29fdbb08b07c (patch) | |
tree | 1819c145b6bb492ff583f62ef8c84bf9bcfda341 | |
parent | cdd73500d6b65db484ac663719afaded030fd17f (diff) | |
download | org-mode-77c7fc81cc8689b82020680fc2cf29fdbb08b07c.tar.gz |
flesh out org-babel-load-file task statement
-rw-r--r-- | org-babel.org | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/org-babel.org b/org-babel.org index f5097dd..f6c2342 100644 --- a/org-babel.org +++ b/org-babel.org @@ -200,24 +200,32 @@ would then be [[#sandbox][the sandbox]]. * Tasks [27/44] -** TODO singe-function tangling and loading elisp from literate org-mode file [2/2] +** TODO singe-function tangling and loading elisp from literate org-mode file [2/3] This function should tangle the org-mode file for elisp, and then call `load-file' on the resulting tangled file. +#+srcname: test-loading-embedded-emacs-lisp +#+begin_src emacs-lisp + (org-babel-load-file "test-tangle.org") + (list test-tangle-loading test-tangle-advert) +#+end_src + *** DONE add optional language limiter to org-babel-tangle This should check to see if there is any need to re-export *** DONE ensure that org-babel-tangle returns the path to the tangled file(s) #+srcname: test-return-value-of-org-babel-tangle -#+begin_src emacs-lisp +#+begin_src emacs-lisp :results replace (mapcar #'file-name-nondirectory (org-babel-tangle-file "test-tangle.org" "emacs-lisp")) #+end_src #+resname: | "test-tangle.el" | +*** TODO only tangle the file if it's actually necessary +compare the ages of the files ** TODO support for working with =*Org Edit Src Example*= buffers [2/4] *** TODO optionally evaluate header references when we switch to =*Org Edit Src*= buffer |