mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-23 12:10:44 +00:00
2f82474d85
This fixes a bug: DONE require users to explicitly turn on each language as we continue adding more languages (each with it's own set of major mode requirements), we are going to want users to only turn on the languages that they intend to use. See the install instructions in org-babel-worg.org, also take a look at the "Requirements" sections of org-babel-ruby.el and org-babel-gnuplot.el for pointers to downloading and installing their requirements (which are no longer distributed in the util directory).
59 lines
1.8 KiB
EmacsLisp
59 lines
1.8 KiB
EmacsLisp
;;; org-babel-init.el --- loads org-babel
|
|
|
|
;; Copyright (C) 2009 Eric Schulte
|
|
|
|
;; Author: Eric Schulte
|
|
;; Keywords: literate programming, reproducible research
|
|
;; Homepage: http://orgmode.org
|
|
;; Version: 0.01
|
|
|
|
;;; License:
|
|
|
|
;; This program is free software; you can redistribute it and/or modify
|
|
;; it under the terms of the GNU General Public License as published by
|
|
;; the Free Software Foundation; either version 3, or (at your option)
|
|
;; any later version.
|
|
;;
|
|
;; This program is distributed in the hope that it will be useful,
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;; GNU General Public License for more details.
|
|
;;
|
|
;; You should have received a copy of the GNU General Public License
|
|
;; along with GNU Emacs; see the file COPYING. If not, write to the
|
|
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
;; Boston, MA 02110-1301, USA.
|
|
|
|
;;; Commentary:
|
|
|
|
;; for more information see the comments in org-babel.el
|
|
|
|
;;; Code:
|
|
(require 'cl)
|
|
(require 'org)
|
|
(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)
|
|
|
|
;; 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-lisp)
|
|
(require 'org-babel-sh)
|
|
|
|
;; Library of babel
|
|
(defvar org-babel-lob-dir
|
|
(expand-file-name ".."
|
|
(file-name-directory
|
|
(or load-file-name buffer-file-name)))
|
|
"The directory holding the library-of-bael")
|
|
(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)
|
|
;;; org-babel-init.el ends here
|