Commit cad2bbbe authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

Declare rectangle functions in mouse.el to avoid warnings

* lisp/mouse.el (rectangle-dimensions)
(rectangle-position-as-coordinates, rectangle-intersect-p):
Declare these functions from rect.el to avoid compilation warnings.
parent 2e8f6ad2
Pipeline #1693 failed with stage
in 90 minutes and 6 seconds
......@@ -2402,6 +2402,10 @@ highlight the original region when
`mouse-drag-and-drop-region-show-cursor' is non-nil."
:version "26.1")
(declare-function rectangle-dimensions "rect" (start end))
(declare-function rectangle-position-as-coordinates "rect" (position))
(declare-function rectangle-intersect-p "rect" (pos1 size1 pos2 size2))
(defun mouse-drag-and-drop-region (event)
"Move text in the region to point where mouse is dragged to.
The transportation of text is also referred as `drag and drop'.
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