Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e5603149
Commit
e5603149
authored
Dec 14, 2000
by
Gerd Moellmann
Browse files
(tooltip-show): If an error is signaled in
x-show-tip, display that error, and display the help in the echo area.
parent
a924cf63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
lisp/tooltip.el
lisp/tooltip.el
+12
-6
No files found.
lisp/tooltip.el
View file @
e5603149
...
...
@@ -308,12 +308,18 @@ ACTIVATEP non-nil means activate mouse motion events."
"Show a tooltip window at the current mouse position displaying TEXT."
(
if
tooltip-use-echo-area
(
message
"%s"
text
)
(
x-show-tip
text
(
selected-frame
)
tooltip-frame-parameters
nil
tooltip-x-offset
tooltip-y-offset
)))
(
condition-case
error
(
x-show-tip
text
(
selected-frame
)
tooltip-frame-parameters
nil
tooltip-x-offset
tooltip-y-offset
)
(
error
(
message
"Error while displaying tooltip: %s"
error
)
(
sit-for
1
)
(
message
"%s"
text
)))))
(
defun
tooltip-hide
(
&optional
ignored-arg
)
"Hide a tooltip, if one is displayed.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment