branch: elpa/htmlize
commit 0a17c7ccb773c7a6401dda9d6ee754f3837bf063
Author: Hrvoje Niksic <[email protected]>
Commit: Hrvoje Niksic <[email protected]>
It's `htmlize-running-xemacs', not `running-xemacs'.
---
htmlize.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/htmlize.el b/htmlize.el
index 8119fbe..903ff81 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)
@@ -684,7 +684,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))