summaryrefslogtreecommitdiff
path: root/lisp/speedbar.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-04-23 02:58:26 +0000
committerGlenn Morris <rgm@gnu.org>2008-04-23 02:58:26 +0000
commite234202b48f001924cd0f27334d7cf28a94c6afe (patch)
tree8cc13489a51e39fc4cff1a16d8de9bef921b6e63 /lisp/speedbar.el
parent037f214b3a3d2690e266a9e10eab7fa3db0ecc1f (diff)
downloademacs-e234202b48f001924cd0f27334d7cf28a94c6afe.tar.gz
(speedbar-use-tool-tips-flag): Check for tooltip-mode, rather than
using an Emacs version test.
Diffstat (limited to 'lisp/speedbar.el')
-rw-r--r--lisp/speedbar.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index a851936ca2d..8584dc55991 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -386,9 +386,8 @@ error occurred, and the next fetch routine is tried.
INSERT is a function which takes an INDENTation level, and a LIST of
tags to insert. It will then create the speedbar buttons.")
-(defcustom speedbar-use-tool-tips-flag (and (not (featurep 'xemacs))
- (>= emacs-major-version 21))
- "*Non-nil means to use tool tips if they are avaialble.
+(defcustom speedbar-use-tool-tips-flag (fboundp 'tooltip-mode)
+ "Non-nil means to use tool tips if they are avaialble.
When tooltips are not available, mouse-tracking and minibuffer
display is used instead."
:group 'speedbar