gnu-emacs-sources
[Top][All Lists]
Advanced

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

Re: htmlize 1.42 released


From: Bastien
Subject: Re: htmlize 1.42 released
Date: Fri, 21 Sep 2012 10:07:47 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux)

Hi Hrvoje,

Hrvoje Nikšić <address@hidden> 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

reply via email to

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