1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-28 07:44:49 +00:00

org-babel-init.el now adds it's directories to user's load-path

This commit is contained in:
Sebastian Rose, Hannover, Germany 2009-09-16 19:51:18 -06:00 committed by Eric Schulte
parent 63b0f3878e
commit 0c465dfc5b

View File

@ -35,11 +35,11 @@
"babel"
(expand-file-name
".." (file-name-directory (or load-file-name buffer-file-name))))))
(langs-dir (expand-file-name "langs" babel-dir))
(load-path (append
(list babel-dir langs-dir)
(or load-path nil))))
(langs-dir (expand-file-name "langs" babel-dir)))
(add-to-list 'load-path babel-dir)
(add-to-list 'load-path langs-dir)
;; org-babel core
(require 'cl)