diff lisp/tooltip.el @ 95841:b4e36ff621b3

Add some compiler declarations, for builds without X.
author Glenn Morris <rgm@gnu.org>
date Thu, 12 Jun 2008 03:56:20 +0000
parents ee5932bf781d
children 68a220b546b7
line wrap: on
line diff
--- a/lisp/tooltip.el	Thu Jun 12 03:54:06 2008 +0000
+++ b/lisp/tooltip.el	Thu Jun 12 03:56:20 2008 +0000
@@ -210,6 +210,9 @@
       (push (cons key value) alist))
     alist))
 
+(declare-function x-show-tip "xfns.c"
+		  (string &optional frame parms timeout dx dy))
+
 (defun tooltip-show (text &optional use-echo-area)
   "Show a tooltip window displaying TEXT.
 
@@ -245,6 +248,8 @@
        (sit-for 1)
        (message "%s" text)))))
 
+(declare-function x-hide-tip "xfns.c" ())
+
 (defun tooltip-hide (&optional ignored-arg)
   "Hide a tooltip, if one is displayed.
 Value is non-nil if tooltip was open."