mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-12 08:10:07 +00:00
now loading utility files before language-specific files
This commit is contained in:
parent
f8b331dd1c
commit
2014a95767
|
@ -38,14 +38,6 @@
|
|||
(require 'org-babel-comint)
|
||||
(require 'org-babel-lob)
|
||||
|
||||
;; language specific files
|
||||
(add-to-list 'load-path (expand-file-name "langs" (file-name-directory (or load-file-name buffer-file-name))))
|
||||
(require 'org-babel-ruby)
|
||||
(require 'org-babel-python)
|
||||
(require 'org-babel-sh)
|
||||
(require 'org-babel-lisp)
|
||||
(require 'org-babel-R)
|
||||
|
||||
;; load utility files
|
||||
(let ((util-dir (expand-file-name
|
||||
"util"
|
||||
|
@ -57,5 +49,13 @@
|
|||
;; the newest version of inf-ruby.el is required by org-babel-ruby.el
|
||||
(load (expand-file-name "inf-ruby.el" util-dir)))
|
||||
|
||||
;; language specific files
|
||||
(add-to-list 'load-path (expand-file-name "langs" (file-name-directory (or load-file-name buffer-file-name))))
|
||||
(require 'org-babel-ruby)
|
||||
(require 'org-babel-python)
|
||||
(require 'org-babel-sh)
|
||||
(require 'org-babel-lisp)
|
||||
(require 'org-babel-R)
|
||||
|
||||
(provide 'org-babel-init)
|
||||
;;; org-babel-init.el ends here
|
||||
|
|
Loading…
Reference in a new issue