diff options
author | Glenn Morris <rgm@gnu.org> | 2008-06-12 03:56:20 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-06-12 03:56:20 +0000 |
commit | aa360da10dc1130e40bb82225ee8988a2465f38a (patch) | |
tree | 24fea572da73c841761a9d8d8d59645bfa61d926 /lisp/tooltip.el | |
parent | 1ad31f1bbae0aa9de6ff997803dcb4466b24e47d (diff) | |
download | emacs-aa360da10dc1130e40bb82225ee8988a2465f38a.tar.gz |
Add some compiler declarations, for builds without X.
Diffstat (limited to 'lisp/tooltip.el')
-rw-r--r-- | lisp/tooltip.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/tooltip.el b/lisp/tooltip.el index f5676a325db..d30579a7049 100644 --- a/lisp/tooltip.el +++ b/lisp/tooltip.el @@ -210,6 +210,9 @@ change the existing association. Value is the resulting alist." (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 @@ in echo area." (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." |