summaryrefslogtreecommitdiff
path: root/lisp/tooltip.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-07-08 15:07:55 +0200
committerStefan Kangas <stefan@marxist.se>2022-07-09 13:35:41 +0200
commit5d7b92448f1996a77a22c9bb0f4b8906552b60b6 (patch)
treea38d136b8b21bdcd12802c28dbe3d04d99fb9255 /lisp/tooltip.el
parent75e3736ba17d993bfd99b5238ab95998f331982e (diff)
downloademacs-5d7b92448f1996a77a22c9bb0f4b8906552b60b6.tar.gz
Delete obsolete variable tooltip-use-echo-area
* lisp/tooltip.el (tooltip-use-echo-area): Delete variable obsolete since 24.1. (tooltip-help-tips): * lisp/progmodes/gud.el (gud-tooltip-process-output) (gud-tooltip-tips): Don't use above deleted variable.
Diffstat (limited to 'lisp/tooltip.el')
-rw-r--r--lisp/tooltip.el11
1 files changed, 1 insertions, 10 deletions
diff --git a/lisp/tooltip.el b/lisp/tooltip.el
index 3e9c16a445a..95cb1cc62c0 100644
--- a/lisp/tooltip.el
+++ b/lisp/tooltip.el
@@ -140,15 +140,6 @@ When using the GTK toolkit, this face will only be used if
:group 'tooltip
:group 'basic-faces)
-(defcustom tooltip-use-echo-area nil
- "Use the echo area instead of tooltip frames for help and GUD tooltips.
-This variable is obsolete; instead of setting it to t, disable
-`tooltip-mode' (which has a similar effect)."
- :type 'boolean)
-
-(make-obsolete-variable 'tooltip-use-echo-area
- "disable Tooltip mode instead" "24.1" 'set)
-
(defcustom tooltip-resize-echo-area nil
"If non-nil, using the echo area for tooltips will resize the echo area.
By default, when the echo area is used for displaying tooltips,
@@ -427,7 +418,7 @@ This is installed on the hook `tooltip-functions', which
is run when the timer with id `tooltip-timeout-id' fires.
Value is non-nil if this function handled the tip."
(when (stringp tooltip-help-message)
- (tooltip-show tooltip-help-message tooltip-use-echo-area)
+ (tooltip-show tooltip-help-message (not tooltip-mode))
t))
(provide 'tooltip)