forked from mirrors/org-mode
XEmacs compatibility
This commit is contained in:
parent
9a1612410f
commit
38b4fcc90c
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
(require 'org-babel)
|
(require 'org-babel)
|
||||||
(require 'python)
|
(require (if (featurep 'xemacs) 'python-mode 'python))
|
||||||
|
|
||||||
(org-babel-add-interpreter "python")
|
(org-babel-add-interpreter "python")
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
2010-05-14 Carsten Dominik <carsten.dominik@gmail.com>
|
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
|
* org-latex.el (org-export-latex-tables): Accept comma in
|
||||||
align string.
|
align string.
|
||||||
|
|
||||||
|
|
|
@ -2167,7 +2167,9 @@ INDENT was the original indentation of the block."
|
||||||
((eq backend 'html)
|
((eq backend 'html)
|
||||||
;; We are exporting to HTML
|
;; We are exporting to HTML
|
||||||
(when lang
|
(when lang
|
||||||
(require 'htmlize nil t)
|
(if (featurep 'xemacs)
|
||||||
|
(require 'htmlize)
|
||||||
|
(require 'htmlize nil t))
|
||||||
(when (not (fboundp 'htmlize-region-for-paste))
|
(when (not (fboundp 'htmlize-region-for-paste))
|
||||||
;; we do not have htmlize.el, or an old version of it
|
;; we do not have htmlize.el, or an old version of it
|
||||||
(setq lang nil)
|
(setq lang nil)
|
||||||
|
|
Loading…
Reference in a new issue