From e234202b48f001924cd0f27334d7cf28a94c6afe Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 23 Apr 2008 02:58:26 +0000 Subject: [PATCH] (speedbar-use-tool-tips-flag): Check for tooltip-mode, rather than using an Emacs version test. --- lisp/speedbar.el | 5 ++--- 1 file 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 -- 2.11.4.GIT