aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-07-12 20:15:57 +0000
committerLuc Teirlinck2005-07-12 20:15:57 +0000
commit2d3683fada229b53e58fe984e54fde107c2991e1 (patch)
treec749fa86516953a8b0f3c41483fc04a3f2a0af92
parent2231b5c5f84315fe05f5c9c39b12c540f2a42158 (diff)
downloademacs-2d3683fada229b53e58fe984e54fde107c2991e1.tar.gz
emacs-2d3683fada229b53e58fe984e54fde107c2991e1.zip
(command-line): Revert to previous handling of tooltip-mode.
Explain in comment why the complexity is needed.
-rw-r--r--lisp/startup.el13
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.