diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-05-27 09:42:12 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-05-27 09:42:12 +0200 |
commit | 4ed0f6e9658279c25f66072c2ddef96aa6f7a93c (patch) | |
tree | 3c831e53093e2275421d12d8cfdbd848a05043db | |
parent | a2f7b7c803494deb112acc0222e9454c5268de1f (diff) | |
download | emacs-4ed0f6e9658279c25f66072c2ddef96aa6f7a93c.tar.gz emacs-4ed0f6e9658279c25f66072c2ddef96aa6f7a93c.tar.bz2 emacs-4ed0f6e9658279c25f66072c2ddef96aa6f7a93c.zip |
Silence byte-compiler warning about x-pointer-invisible
* lisp/avoid.el (x-pointer-invisible): Declare to silence
byte-compiler.
-rw-r--r-- | lisp/avoid.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/avoid.el b/lisp/avoid.el index c97e51a6f7d..2e77c8feff1 100644 --- a/lisp/avoid.el +++ b/lisp/avoid.el @@ -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 |