Require htmlfontify.el only if emacs-version is greater than 23.2.

* org-odt.el (require): Require htmlfontify.el only if
emacs-version is greater than 23.2.

Thanks to Martyn Jago for reporting this.
This commit is contained in:
Bastien Guerry 2011-12-12 15:05:48 +01:00
parent ca7d04cd66
commit 6a4343a461
1 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,9 @@
;;; Code:
(eval-when-compile
(require 'cl)
(require 'htmlfontify))
;; htmlfontify.el was introduce in Emacs 23.2
(when (>= (string-to-number emacs-version) 23.2)
(require 'htmlfontify)))
(require 'org-lparse)
(defgroup org-export-odt nil