Mercurial > emacs
changeset 64297:12d6287fd482
(command-line): Use `custom-reevaluate-setting' again for tooltip-mode.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Thu, 14 Jul 2005 00:57:45 +0000 |
parents | d905b8d515a1 |
children | acabc71be63b |
files | lisp/startup.el |
diffstat | 1 files changed, 1 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/startup.el Thu Jul 14 00:56:53 2005 +0000 +++ b/lisp/startup.el Thu Jul 14 00:57:45 2005 +0000 @@ -752,17 +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. - ;; We can not use `custom-reevaluate-setting' here, because it would - ;; load the tooltip library on systems for which that does not make sense. - (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.