changeset 64203:6398fcc6fd76

(command-line): Use custom-reevaluate-setting to handle tooltip-mode. Delete obsolete comment.
author Luc Teirlinck <teirllm@auburn.edu>
date Sun, 10 Jul 2005 16:43:39 +0000
parents 32225b9cc7d5
children 8be100bd0e45
files lisp/startup.el
diffstat 1 files changed, 1 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Sun Jul 10 16:40:11 2005 +0000
+++ b/lisp/startup.el	Sun Jul 10 16:43:39 2005 +0000
@@ -752,15 +752,7 @@
   ;; 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.