|
From: | Lawrence Bottorff |
Subject: | Re: [O] Babel: How to call code in one org file into another org file |
Date: | Sat, 31 Oct 2015 03:58:30 +0000 |
I would use local variables for this--something like (untested):
# eval: (org-babel-lob-ingest path/to/your/file)
# eval: (sbe "my-add")
# eval: (sbe "multi_x2")
Computer savvy Org moders don't like eval because anything can happen,
but if you're willing to trust yourself, then it shouldn't cause any
problems.
With this near the bottom of your file, whenever you open the file your
other org files will be loaded into the Library of Babel where you can
load up function definitions as needed.
Of course, you'll need to have slime running when you open the file.
hth,
Tom
[Prev in Thread] | Current Thread | [Next in Thread] |