summaryrefslogtreecommitdiff
path: root/lisp/speedbar.el
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 /lisp/speedbar.el
parent9832760a3e77f2de803cf605129af8929677af38 (diff)
downloademacs-d757aac1c927ffbf8edf60e49d8a8640a2a26ccb.tar.gz
(speedbar-insert-image-button-maybe): Check for `xemacs' feature
instead of for the function `set-extent-property'.
Diffstat (limited to 'lisp/speedbar.el')
-rw-r--r--lisp/speedbar.el2
1 files changed, 1 insertions, 1 deletions
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)