emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master cad2bbb: Declare rectangle functions in mouse.el to


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master cad2bbb: Declare rectangle functions in mouse.el to avoid warnings
Date: Thu, 16 May 2019 22:23:24 -0400 (EDT)

branch: master
commit cad2bbbe25fda36f7eb5a81c34070e26743f4ccf
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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.
---
 lisp/mouse.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lisp/mouse.el b/lisp/mouse.el
index 835eaa3..8428c1e 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -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'.



reply via email to

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