12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- (let* ((babel-dir (expand-file-name
- "lisp"
- (expand-file-name
- "babel"
- (expand-file-name
- ".." (file-name-directory (or load-file-name buffer-file-name))))))
- (langs-dir (expand-file-name "langs" babel-dir)))
- (add-to-list 'load-path babel-dir)
- (add-to-list 'load-path langs-dir)
-
- (require 'cl)
- (require 'org)
- (require 'org-table)
- (require 'org-exp-blocks)
- (require 'org-babel)
- (require 'org-babel-ref)
- (require 'org-babel-exp)
- (require 'org-babel-table)
- (require 'org-babel-comint)
- (require 'org-babel-lob)
- (require 'org-babel-tangle)
- (require 'org-babel-keys)
-
- (require 'org-babel-emacs-lisp)
- (require 'org-babel-sh)
-
- (defvar org-babel-lob-dir
- (expand-file-name ".." babel-dir)
- "The directory holding the library-of-babel")
- (defun org-babel-load-library-of-babel ()
- (org-babel-lob-ingest (expand-file-name "library-of-babel.org" org-babel-lob-dir))))
- (provide 'org-babel-init)
|