summaryrefslogtreecommitdiff
path: root/lisp/tooltip.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-01-18 15:56:08 +0800
committerPo Lu <luangruo@yahoo.com>2022-01-18 15:56:08 +0800
commitc99e28207a69e6d4305be25ac420ffa664924652 (patch)
tree6e656036dba9888696a3e67c11da7da8151cbec0 /lisp/tooltip.el
parent77b5bd4cdbd778f269bc487efe4b5e5c935d1635 (diff)
downloademacs-c99e28207a69e6d4305be25ac420ffa664924652.tar.gz
* lisp/tooltip.el (tooltip-show-help): Fix typo.
Diffstat (limited to 'lisp/tooltip.el')
-rw-r--r--lisp/tooltip.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/tooltip.el b/lisp/tooltip.el
index a6392877144..2aa487d0454 100644
--- a/lisp/tooltip.el
+++ b/lisp/tooltip.el
@@ -378,8 +378,8 @@ MSG is either a help string to display, or nil to cancel the display."
(if (and (display-graphic-p)
;; On Haiku, system tooltips can't be displayed above
;; menus.
- (or (not (and haiku-use-system-tooltips
- (eq window-system 'haiku)))
+ (or (not (and (eq window-system 'haiku)
+ haiku-use-system-tooltips))
(not (menu-or-popup-active-p))))
(let ((previous-help tooltip-help-message))
(setq tooltip-help-message msg)