XEmacs compatibility

This commit is contained in:
Carsten Dominik 2010-05-14 14:40:44 +02:00
parent 9a1612410f
commit 38b4fcc90c
3 changed files with 7 additions and 2 deletions

View file

@ -30,7 +30,7 @@
;;; Code:
(require 'org-babel)
(require 'python)
(require (if (featurep 'xemacs) 'python-mode 'python))
(org-babel-add-interpreter "python")

View file

@ -1,5 +1,8 @@
2010-05-14 Carsten Dominik <carsten.dominik@gmail.com>
* org-exp.el (org-export-format-source-code-or-example):
XEmacs compatibility.
* org-latex.el (org-export-latex-tables): Accept comma in
align string.

View file

@ -2167,7 +2167,9 @@ INDENT was the original indentation of the block."
((eq backend 'html)
;; We are exporting to HTML
(when lang
(require 'htmlize nil t)
(if (featurep 'xemacs)
(require 'htmlize)
(require 'htmlize nil t))
(when (not (fboundp 'htmlize-region-for-paste))
;; we do not have htmlize.el, or an old version of it
(setq lang nil)