Browse Source

Fix bug in require htmlize code.

Reported by Daniel Clemente.
Carsten Dominik 16 years ago
parent
commit
7797fec4b7
2 changed files with 6 additions and 1 deletions
  1. 5 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-exp.el

+ 5 - 0
lisp/ChangeLog

@@ -1,3 +1,8 @@
+2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
+
+	* org-exp.el (org-export-format-source-code): Fix bug in require
+	htmlize code.
+
 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
 
 	* org-export-latex.el (org-export-latex-subcontent): Interprete

+ 1 - 1
lisp/org-exp.el

@@ -2160,7 +2160,7 @@ backends, it converts the segment into an EXAMPLE segment."
     (cond
      (htmlp
       ;; We are exporting to HTML
-      (condition-case nil (require 'htmlize) (nil t))
+      (require 'htmlize nit t)
       (if (not (fboundp 'htmlize-region-for-paste))
 	  (progn
 	    ;; we do not have htmlize.el, or an old version of it