From 8b8f03c80cf2ad0a17952bfcc82839601cd624f8 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Mon, 18 Apr 2005 07:43:59 +0000 Subject: [PATCH] (tooltip-mode): `emacs-quick-startup' and `display-graphic-p' may not be bound yet. --- lisp/tooltip.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/tooltip.el b/lisp/tooltip.el index c903dbac523..89a72d570a2 100644 --- a/lisp/tooltip.el +++ b/lisp/tooltip.el @@ -188,8 +188,9 @@ With ARG, turn tooltip mode on if and only if ARG is positive." ;; If you change the :init-value below, you also need to change the ;; corresponding code in startup.el. :init-value (not (or noninteractive - emacs-quick-startup - (not (display-graphic-p)) + (and (boundp 'emacs-quick-startup) emacs-quick-startup) + (not (and (fboundp 'display-graphic-p) + (display-graphic-p))) (not (fboundp 'x-show-tip)))) :group 'tooltip (unless (or (null tooltip-mode) (fboundp 'x-show-tip)) -- 2.39.2