Browse Source

adding shell of org-babel-tangle.el

Eric Schulte 16 years ago
parent
commit
d71ee1116b
2 changed files with 37 additions and 0 deletions
  1. 2 0
      lisp/org-babel-init.el
  2. 35 0
      lisp/org-babel-tangle.el

+ 2 - 0
lisp/org-babel-init.el

@@ -38,6 +38,8 @@
 (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-ruby)

+ 35 - 0
lisp/org-babel-tangle.el

@@ -0,0 +1,35 @@
+;;; org-babel-tangle.el --- Extract source code from org-mode files
+
+;; Copyright (C) 2009 Dan Davison, Eric Schulte
+
+;; Author: Dan Davison, 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:
+
+;; Extract the code from source blocks out into raw source-code files.
+
+;;; Code:
+(require 'org-babel)
+
+(provide 'org-babel-tangle)
+;;; org-babel-tangle.el ends here