diff lisp/speedbar.el @ 94277:0d9b4dfd3f8b

(speedbar-use-tool-tips-flag): Check for tooltip-mode, rather than using an Emacs version test.
author Glenn Morris <rgm@gnu.org>
date Wed, 23 Apr 2008 02:58:26 +0000
parents 03995f64a613
children 171ae2941bb8
line wrap: on
line diff
--- a/lisp/speedbar.el	Wed Apr 23 02:57:57 2008 +0000
+++ b/lisp/speedbar.el	Wed Apr 23 02:58:26 2008 +0000
@@ -386,9 +386,8 @@
 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