emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/compat e5a573f 37/99: Declare mouse-set-point


From: ELPA Syncer
Subject: [elpa] externals/compat e5a573f 37/99: Declare mouse-set-point
Date: Sun, 17 Oct 2021 05:57:53 -0400 (EDT)

branch: externals/compat
commit e5a573f4b8c25c43737e789c528bdc1da95826a6
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]