comparison 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
comparison
equal deleted inserted replaced
94276:46345beb0bac 94277:0d9b4dfd3f8b
384 corresponding insert method can handle it. If it returns t, then an 384 corresponding insert method can handle it. If it returns t, then an
385 error occurred, and the next fetch routine is tried. 385 error occurred, and the next fetch routine is tried.
386 INSERT is a function which takes an INDENTation level, and a LIST of 386 INSERT is a function which takes an INDENTation level, and a LIST of
387 tags to insert. It will then create the speedbar buttons.") 387 tags to insert. It will then create the speedbar buttons.")
388 388
389 (defcustom speedbar-use-tool-tips-flag (and (not (featurep 'xemacs)) 389 (defcustom speedbar-use-tool-tips-flag (fboundp 'tooltip-mode)
390 (>= emacs-major-version 21)) 390 "Non-nil means to use tool tips if they are avaialble.
391 "*Non-nil means to use tool tips if they are avaialble.
392 When tooltips are not available, mouse-tracking and minibuffer 391 When tooltips are not available, mouse-tracking and minibuffer
393 display is used instead." 392 display is used instead."
394 :group 'speedbar 393 :group 'speedbar
395 :type 'boolean) 394 :type 'boolean)
396 395