0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-22 08:10:43 +00:00

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

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