(command-line): Use custom-reevaluate-setting to handle tooltip-mode.

Delete obsolete comment.
This commit is contained in:
Luc Teirlinck 2005-07-10 16:43:39 +00:00
parent 9ccfc415b9
commit e30522ee69

View file

@ -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.