emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] (require 'htmlize) in org-exp should have NOERROR set


From: Carsten Dominik
Subject: Re: [Orgmode] (require 'htmlize) in org-exp should have NOERROR set
Date: Mon, 17 Nov 2008 05:54:33 +0100

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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

[Prev in Thread] Current Thread [Next in Thread]