Commit c6da4eb4 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(tooltip-mode): Signal an error if x-show-tip

isn't fboundp.
parent 6d34f495
2000-12-18 Gerd Moellmann <gerd@gnu.org>
* tooltip.el (tooltip-mode): Signal an error if x-show-tip
isn't fboundp.
* server.el (server-buffer-done): Bury the buffer before
killing it.
......
......@@ -197,6 +197,8 @@ This might return nil if the event did not occur over a buffer."
"Mode for tooltip display.
With ARG, turn tooltip mode on if and only if ARG is positive."
(interactive "P")
(unless (fboundp 'x-show-tip)
(error "Sorry, tooltips are not yet available on this system"))
(let* ((on (if arg
(> (prefix-numeric-value arg) 0)
(not tooltip-mode)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment