diff options
| -rw-r--r-- | lisp/startup.el | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index cb3dae8123a..51dea85c487 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -752,7 +752,18 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'." | |||
| 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 | (custom-reevaluate-setting 'tooltip-mode) | 755 | |
| 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 | ;; We can not use `custom-reevaluate-setting' here, because it would | ||
| 760 | ;; load the tooltip library on systems for which that does not make sense. | ||
| 761 | |||
| 762 | (unless (or noninteractive | ||
| 763 | emacs-basic-display | ||
| 764 | (not (display-graphic-p)) | ||
| 765 | (not (fboundp 'x-show-tip))) | ||
| 766 | (tooltip-mode 1)) | ||
| 756 | 767 | ||
| 757 | ;; Register default TTY colors for the case the terminal hasn't a | 768 | ;; Register default TTY colors for the case the terminal hasn't a |
| 758 | ;; terminal init file. | 769 | ;; terminal init file. |