From: Po Lu Date: Tue, 18 Jan 2022 03:34:55 +0000 (+0800) Subject: * lisp/tooltip.el: Fix warning when built on a non-Haiku system. X-Git-Tag: emacs-29.0.90~2977 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=77b5bd4cdbd778f269bc487efe4b5e5c935d1635;p=emacs.git * lisp/tooltip.el: Fix warning when built on a non-Haiku system. --- diff --git a/lisp/tooltip.el b/lisp/tooltip.el index af6f456d7b5..a6392877144 100644 --- a/lisp/tooltip.el +++ b/lisp/tooltip.el @@ -339,6 +339,8 @@ This is used by `tooltip-show-help' and (defvar tooltip-previous-message nil "The previous content of the echo area.") +(defvar haiku-use-system-tooltips) + (defun tooltip-show-help-non-mode (help) "Function installed as `show-help-function' when Tooltip mode is off. It is also called if Tooltip mode is on, for text-only displays."