]> git.eshelyaron.com Git - emacs.git/commitdiff
(tooltip-x-offset, tooltip-y-offset): Change defaults.
authorRichard M. Stallman <rms@gnu.org>
Sun, 23 Oct 2005 18:31:25 +0000 (18:31 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 23 Oct 2005 18:31:25 +0000 (18:31 +0000)
Eliminate nil as possible value.
(tooltip-hide-delay): Reduce internal-border-width.

lisp/tooltip.el

index 1bbdd6d37a06b98d1d2bf66f74704d19888f9528..50715cf800c60b28d920b9dd2e109e6f4cdc4350 100644 (file)
@@ -65,37 +65,33 @@ Do so after `tooltip-short-delay'."
   :type 'number
   :group 'tooltip)
 
-(defcustom tooltip-x-offset nil
+(defcustom tooltip-x-offset 5
   "X offset, in pixels, for the display of tooltips.
 The offset is relative to the position of the mouse.  It must
 be chosen so that the tooltip window doesn't contain the mouse
-when it pops up.  If the value is nil, the default offset is 5
-pixels.
+when it pops up.
 
 If `tooltip-frame-parameters' includes the `left' parameter,
 the value of `tooltip-x-offset' is ignored."
   :tag "X offset"
-  :type '(choice (const :tag "Default" nil)
-                (integer :tag "Offset" :value 1))
+  :type 'integer
   :group 'tooltip)
 
-(defcustom tooltip-y-offset nil
+(defcustom tooltip-y-offset +40
   "Y offset, in pixels, for the display of tooltips.
 The offset is relative to the position of the mouse.  It must
 be chosen so that the tooltip window doesn't contain the mouse
-when it pops up.  If the value is nil, the default offset is -10
-pixels.
+when it pops up.
 
 If `tooltip-frame-parameters' includes the `top' parameter,
 the value of `tooltip-y-offset' is ignored."
   :tag "Y offset"
-  :type '(choice (const :tag "Default" nil)
-                (integer :tag "Offset" :value 1))
+  :type 'integer
   :group 'tooltip)
 
 (defcustom tooltip-frame-parameters
   '((name . "tooltip")
-    (internal-border-width . 5)
+    (internal-border-width . 2)
     (border-width . 1))
   "Frame parameters used for tooltips.