Convert consecutive FSF copyright years to ranges.
[bpt/emacs.git] / lisp / org / ob-css.el
CommitLineData
86fbb8ca
CD
1;;; ob-css.el --- org-babel functions for css evaluation
2
73b0cd50 3;; Copyright (C) 2009-2011 Free Software Foundation, Inc.
86fbb8ca
CD
4
5;; Author: Eric Schulte
6;; Keywords: literate programming, reproducible research
7;; Homepage: http://orgmode.org
acedf35c 8;; Version: 7.4
86fbb8ca
CD
9
10;; This file is part of GNU Emacs.
11
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.
16
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.
21
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/>.
24
25;;; Commentary:
26
27;; Since CSS can't be executed, this file exists solely for tangling
28;; CSS from org-mode files.
29
30;;; Code:
31(require 'ob)
32
33(defvar org-babel-default-header-args:css '())
34
86fbb8ca
CD
35(defun org-babel-execute:css (body params)
36 "Execute a block of CSS code.
37This function is called by `org-babel-execute-src-block'."
38 body)
39
40(defun org-babel-prep-session:css (session params)
41 "Return an error if the :session header argument is set.
42CSS does not support sessions."
43 (error "CSS sessions are nonsensical"))
44
45(provide 'ob-css)
46
86fbb8ca
CD
47
48;;; ob-css.el ends here