comparison lisp/startup.el @ 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 6fb026ad601f
children 07d8968e1e9c
comparison
equal deleted inserted replaced
64202:32225b9cc7d5 64203:6398fcc6fd76
750 750
751 ;; Can't do this init in defcustom because the relevant variables 751 ;; Can't do this init in defcustom because the relevant variables
752 ;; are not set. 752 ;; are not set.
753 (custom-reevaluate-setting 'blink-cursor-mode) 753 (custom-reevaluate-setting 'blink-cursor-mode)
754 (custom-reevaluate-setting 'normal-erase-is-backspace) 754 (custom-reevaluate-setting 'normal-erase-is-backspace)
755 755 (custom-reevaluate-setting 'tooltip-mode)
756 ;; If you change the code below, you need to also change the
757 ;; corresponding code in the tooltip-mode defcustom. The two need
758 ;; to be equivalent under all conditions, or Custom will get confused.
759 (unless (or noninteractive
760 emacs-basic-display
761 (not (display-graphic-p))
762 (not (fboundp 'x-show-tip)))
763 (tooltip-mode 1))
764 756
765 ;; Register default TTY colors for the case the terminal hasn't a 757 ;; Register default TTY colors for the case the terminal hasn't a
766 ;; terminal init file. 758 ;; terminal init file.
767 (unless (memq window-system '(x w32)) 759 (unless (memq window-system '(x w32))
768 ;; We do this regardles of whether the terminal supports colors 760 ;; We do this regardles of whether the terminal supports colors