Fixed, thanks.
- Carsten
On Nov 17, 2008, at 1:25 AM, Daniel Clemente wrote:
With org-mode 6.12a from Emacs 23 of 15-11-2008, I get the error
(file-error "Cannot open load file" "htmlize")
when exporting to HTML this file:
----
#+BEGIN_SRC emacs-lisp
; beeeeep
(beep)
#+END_SRC
----
The problem seems to be in org-export-format-source-code (org-
exp.el):
;; We are exporting to HTML
(condition-case nil (require 'htmlize) (nil t))
That should be just (require 'htmlize nil t)
I have also seen the idiom (condition-case nil (require 'htmlize)
(error t)), but I think (require 'htmlize nil t) is cleaner because
it doesn't throw errors.
-- Daniel
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode