Use Slashdot.org as feed example in the documentation
[org-mode/org-jambu.git] / lisp / ob-css.el
blob57856229253dc84fa87806085ce97d3d95298945
1 ;;; ob-css.el --- org-babel functions for css evaluation
3 ;; Copyright (C) 2009, 2010 Free Software Foundation, Inc.
5 ;; Author: Eric Schulte
6 ;; Keywords: literate programming, reproducible research
7 ;; Homepage: http://orgmode.org
8 ;; Version: 0.01
10 ;; This file is part of GNU Emacs.
12 ;; GNU Emacs is free software: you can redistribute it and/or modify
13 ;; it under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation, either version 3 of the License, or
15 ;; (at your option) any later version.
17 ;; GNU Emacs is distributed in the hope that it will be useful,
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ;; GNU General Public License for more details.
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
25 ;;; Commentary:
27 ;; Since CSS can't be executed, this file exists solely for tangling
28 ;; CSS from org-mode files.
30 ;;; Code:
31 (require 'ob)
33 (defvar org-babel-default-header-args:css '())
35 (defun org-babel-expand-body:css (body params &optional processed-params)
36 "Expand BODY according to PARAMS, return the expanded body." body)
38 (defun org-babel-execute:css (body params)
39 "Execute a block of CSS code with org-babel. This function is
40 called by `org-babel-execute-src-block'."
41 (message "executing CSS source code block")
42 body)
44 (defun org-babel-prep-session:css (session params)
45 "Prepare SESSION according to the header arguments specified in PARAMS."
46 (error "CSS sessions are nonsensical"))
48 (provide 'ob-css)
50 ;; arch-tag: f4447e8c-50ab-41f9-b322-b7b9574d9fbe
52 ;;; ob-css.el ends here