aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/avoid.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/avoid.el')
-rw-r--r--lisp/avoid.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/avoid.el b/lisp/avoid.el
index d75ca2c961d..8abb81e142b 100644
--- a/lisp/avoid.el
+++ b/lisp/avoid.el
@@ -166,7 +166,7 @@ You can redefine this if you want the mouse banished to a different corner."
166 ;; Args are the CURRENT location, the desired DELTA for 166 ;; Args are the CURRENT location, the desired DELTA for
167 ;; warp-conservation, the DISTANCE we like to move, the VARIABILITY 167 ;; warp-conservation, the DISTANCE we like to move, the VARIABILITY
168 ;; in distance allowed, and the MIN and MAX possible window positions. 168 ;; in distance allowed, and the MIN and MAX possible window positions.
169 ;; Returns something as close to DELTA as possible withing the constraints. 169 ;; Returns something as close to DELTA as possible within the constraints.
170 (let ((L1 (max (- min cur) (+ (- dist) (- var)))) 170 (let ((L1 (max (- min cur) (+ (- dist) (- var))))
171 (R1 (+ (- dist) var )) 171 (R1 (+ (- dist) var ))
172 (L2 (+ dist (- var))) 172 (L2 (+ dist (- var)))