Hi Hrvoje,

Hrvoje Nikšić <[email protected]> writes:

> I am pleased to announce the release 1.42 of htmlize, the package that
> exports buffer decoration (typically font-lock, but also arbitrary text
> properties) to HTML. Get it from:
>
>     http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el.cgi 

Congrats for this release!

I had to apply the attached patch for it to work.

I tested this with latest Org version and it works.
Unless you disagree, I plan to integrate htmlize 1.42
in the next minor Org release 7.9.2.

Thanks!

diff --git a/htmlize.el b/htmlize.el
index 1eba34b..5485197 100644
--- a/htmlize.el
+++ b/htmlize.el
@@ -378,7 +378,7 @@ next-single-char-property-change")))
 ;; Simple overlay emulation for XEmacs
 
 (cond
- (running-xemacs
+ (htmlize-running-xemacs
   (defalias 'htmlize-make-overlay 'make-extent)
   (defalias 'htmlize-overlay-put 'set-extent-property)
   (defalias 'htmlize-overlay-get 'extent-property)
@@ -680,7 +680,7 @@ list."
   (let ((text (buffer-substring-no-properties beg end)))
     (htmlize-copy-prop 'display beg end text)
     (htmlize-copy-prop 'htmlize-link beg end text)
-    (unless running-xemacs
+    (unless htmlize-running-xemacs
       (setq text (htmlize-add-before-after-strings beg end text)))
     text))
 
-- 
 Bastien
_______________________________________________
gnu-emacs-sources mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to