# HG changeset patch # User Glenn Morris # Date 1208919506 0 # Node ID 0d9b4dfd3f8b6d93d3890592b2379b18cff046e7 # Parent 46345beb0bacf8414a43e61e1d7f9ad2902ca356 (speedbar-use-tool-tips-flag): Check for tooltip-mode, rather than using an Emacs version test. diff -r 46345beb0bac -r 0d9b4dfd3f8b lisp/speedbar.el --- 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