python.el: Fix electric colon behavior
[emacs.git] / lisp / org / ob-css.el
blob2fedb3540ae661a8526a135a54084cb6c3be861e
1 ;;; ob-css.el --- org-babel functions for css evaluation
3 ;; Copyright (C) 2009-2014 Free Software Foundation, Inc.
5 ;; Author: Eric Schulte
6 ;; Keywords: literate programming, reproducible research
7 ;; Homepage: http://orgmode.org
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software: you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation, either version 3 of the License, or
14 ;; (at your option) any later version.
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
24 ;;; Commentary:
26 ;; Since CSS can't be executed, this file exists solely for tangling
27 ;; CSS from org-mode files.
29 ;;; Code:
30 (require 'ob)
32 (defvar org-babel-default-header-args:css '())
34 (defun org-babel-execute:css (body params)
35 "Execute a block of CSS code.
36 This function is called by `org-babel-execute-src-block'."
37 body)
39 (defun org-babel-prep-session:css (session params)
40 "Return an error if the :session header argument is set.
41 CSS does not support sessions."
42 (error "CSS sessions are nonsensical"))
44 (provide 'ob-css)
48 ;;; ob-css.el ends here