1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(speedbar-use-tool-tips-flag): Check for tooltip-mode, rather than

using an Emacs version test.
This commit is contained in:
Glenn Morris 2008-04-23 02:58:26 +00:00
parent 037f214b3a
commit e234202b48

View file

@ -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