branch: externals/boxy commit aa6a07700b3298c60f5a95f8330a8460a6f935f8 Author: Tyler Grinn <tylergr...@gmail.com> Commit: Tyler Grinn <tylergr...@gmail.com>
Added variable boxy-tooltip-show-function --- boxy.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/boxy.el b/boxy.el index 7d0cdd2..04c9089 100644 --- a/boxy.el +++ b/boxy.el @@ -159,6 +159,11 @@ "Maximum width of all tooltips." :type 'number) +;;;; Variables + +(defvar boxy-tooltip-show-function #'boxy--tooltip-show + "A function which takes a multi-line string and displays it immediately.") + ;;;; Faces (defface boxy-default nil @@ -1607,7 +1612,7 @@ characters if possible." (current-buffer)) (eq (marker-position marker) (point))) - (boxy--tooltip-show content))))))) + (funcall boxy-tooltip-show-function content))))))) (defun boxy--tooltip-show (content) "Show tooltip with CONTENT at point immediately."