lang/org: lazy-load babel libraries
Removes +org-babel-languages and no longer eagerly loads babel libraries. If an ob-*.el exists for the language, it will be loaded once you execute its src block. Warning: this may interfere with tangling. An unloaded library can't register a language extension in org-babel-tangle-lang-exts (if any). This means babel won't be able to figure out the correct file extension for certain src blocks. Either load the package explicitly or provide a filename + extension for the TARGET-FILE argument: (require 'ob-rust) (org-babel-tangle-file "notes.org") ;; or (org-babel-tangle-file "notes.org" "notes.rs")
This commit is contained in:
parent
01a5e9a1d7
commit
78cb47a072
1 changed files with 9 additions and 27 deletions
Loading…
Add table
Add a link
Reference in a new issue