summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric M. Ludlam <zappo@gnu.org>2001-04-04 00:51:48 +0000
committerEric M. Ludlam <zappo@gnu.org>2001-04-04 00:51:48 +0000
commitd757aac1c927ffbf8edf60e49d8a8640a2a26ccb (patch)
tree98c08f55e78ca2040cd3b448b3b876ba1cb41c4f
parent9832760a3e77f2de803cf605129af8929677af38 (diff)
downloademacs-d757aac1c927ffbf8edf60e49d8a8640a2a26ccb.tar.gz
(speedbar-insert-image-button-maybe): Check for `xemacs' feature
instead of for the function `set-extent-property'.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/speedbar.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index dfacf7c2f72..1f65e55d557 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-03 Eric M. Ludlam <eric@siege-engine.com>
+
+ * speedbar.el (speedbar-insert-image-button-maybe): Check for
+ `xemacs' feature instead of for the function `set-extent-property'.
+
2001-04-03 Stefan Monnier <monnier@cs.yale.edu>
* mail/mh-utils.el (mh-folder-hist): New var.
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index 97e2a582f48..a880e571320 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -4318,7 +4318,7 @@ If we have an image associated with it, use that image."
;; underlying text. This means if we leave it tangible, then I
;; don't have to change said giant piles o code.
(if (and a (symbol-value (cdr a)))
- (if (fboundp 'set-extent-property)
+ (if (featurep 'xemacs)
(add-text-properties (+ start (length bt)) start
(list 'end-glyph (symbol-value (cdr a))
'rear-nonsticky (list 'display)