From e30522ee69389e52e7cdb483a3537d5fb83f9afd Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Sun, 10 Jul 2005 16:43:39 +0000 Subject: [PATCH] (command-line): Use custom-reevaluate-setting to handle tooltip-mode. Delete obsolete comment. --- lisp/startup.el | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lisp/startup.el b/lisp/startup.el index 83b8729e20..cb3dae8123 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -752,15 +752,7 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." ;; are not set. (custom-reevaluate-setting 'blink-cursor-mode) (custom-reevaluate-setting 'normal-erase-is-backspace) - - ;; If you change the code below, you need to also change the - ;; corresponding code in the tooltip-mode defcustom. The two need - ;; to be equivalent under all conditions, or Custom will get confused. - (unless (or noninteractive - emacs-basic-display - (not (display-graphic-p)) - (not (fboundp 'x-show-tip))) - (tooltip-mode 1)) + (custom-reevaluate-setting 'tooltip-mode) ;; Register default TTY colors for the case the terminal hasn't a ;; terminal init file. -- 2.20.1