]> git.eshelyaron.com Git - emacs.git/commitdiff
Silence byte-compiler warning about x-pointer-invisible
authorStefan Kangas <stefan@marxist.se>
Fri, 27 May 2022 07:42:12 +0000 (09:42 +0200)
committerStefan Kangas <stefan@marxist.se>
Fri, 27 May 2022 07:42:12 +0000 (09:42 +0200)
* lisp/avoid.el (x-pointer-invisible): Declare to silence
byte-compiler.

lisp/avoid.el

index c97e51a6f7dcfebca255d6261b2d1f0dac684172..2e77c8feff1074d9d8ee89334545fe246145c43b 100644 (file)
@@ -293,6 +293,8 @@ accumulated, and tries to keep it close to zero."
       (mouse-avoidance-set-mouse-position (cons (+ (car (cdr cur)) deltax)
                                                (+ (cdr (cdr cur)) deltay))))))
 
+(defvar x-pointer-invisible) ; silence byte-compiler
+
 (defun mouse-avoidance-random-shape ()
   "Return a random cursor shape.
 This assumes that any variable whose name begins with x-pointer- and