XEmacs compatibility
This commit is contained in:
parent
9a1612410f
commit
38b4fcc90c
|
@ -30,7 +30,7 @@
|
|||
|
||||
;;; Code:
|
||||
(require 'org-babel)
|
||||
(require 'python)
|
||||
(require (if (featurep 'xemacs) 'python-mode 'python))
|
||||
|
||||
(org-babel-add-interpreter "python")
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue