branch: externals/compat commit e5a573f4b8c25c43737e789c528bdc1da95826a6 Author: Philip Kaludercic <phil...@posteo.net> Commit: Philip Kaludercic <phil...@posteo.net>
Declare mouse-set-point The function was defined in 22.1, but is not autoloaded. Under the assumption that mouse-set-point cannot be called without an event to pass, that has to be generated by mouse.el, the function must have already been loaded by then, and it should suffice to declare it. --- compat-28.1.el | 1 + 1 file changed, 1 insertion(+) diff --git a/compat-28.1.el b/compat-28.1.el index b5d5d1f..2d1acb6 100644 --- a/compat-28.1.el +++ b/compat-28.1.el @@ -417,6 +417,7 @@ just the selected frame." ;;;; Defined in thingatpt.el +(declare-function mouse-set-point "mouse" (event &optional promote-to-region)) (compat-defun thing-at-mouse (event thing &optional no-properties) "Return the THING at mouse click. Like `thing-at-point', but tries to use the event