]> git.eshelyaron.com Git - emacs.git/commitdiff
Preload tooltip.el unconditionally.
authorEli Zaretskii <eliz@gnu.org>
Tue, 8 Oct 2013 15:11:29 +0000 (18:11 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 8 Oct 2013 15:11:29 +0000 (18:11 +0300)
lisp/loadup.el
lisp/menu-bar.el
lisp/tooltip.el

index c32bd00463e9380f412a68c66543495fb73db32b..27148ceea753432f0a7eff4417b315ab42668500 100644 (file)
 
 (load "vc/vc-hooks")
 (load "vc/ediff-hook")
-(if (fboundp 'x-show-tip) (load "tooltip"))
+(if (not (eq system-type 'ms-dos)) (load "tooltip"))
 
 ;If you want additional libraries to be preloaded and their
 ;doc strings kept in the DOC file rather than in core,
index fe2d9caf10fb18b8b07646e63a7d27f703a97bf2..557c24d6128acb63e9589135be72f8e59a7b78ba 100644 (file)
@@ -2374,7 +2374,7 @@ first (leftmost) menu-bar item; you can select other items by typing
   :group 'display
   :version "24.4")
 
-(defvar tty-menu--initial-menu-x 10
+(defvar tty-menu--initial-menu-x 1
   "X coordinate of the first menu-bar menu dropped by F10.
 
 This is meant to be used only for debugging TTY menus.")
index 657951d7b75719df7c137a20377d1a23a03b6726..6ffa55bc14d1df290be145010d5a0b437ebf4851 100644 (file)
@@ -58,9 +58,7 @@ echo area, instead of making a pop-up window."
   :init-value t
   :initialize 'custom-initialize-delay
   :group 'tooltip
-  (unless (or (null tooltip-mode) (fboundp 'x-show-tip))
-    (error "Sorry, tooltips are not yet available on this system"))
-  (if tooltip-mode
+  (if (and tooltip-mode (fboundp 'x-show-tip))
       (progn
        (add-hook 'pre-command-hook 'tooltip-hide)
        (add-hook 'tooltip-functions 'tooltip-help-tips))