Mercurial > emacs
diff lisp/avoid.el @ 23295:722f0b9703c7
(mouse-avoidance-banish-hook): Don't move unless in an
Emacs frame.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Mon, 21 Sep 1998 19:42:29 +0000 |
| parents | 808ecc2eaa84 |
| children | 7633ec82a288 |
line wrap: on
line diff
--- a/lisp/avoid.el Mon Sep 21 17:57:46 1998 +0000 +++ b/lisp/avoid.el Mon Sep 21 19:42:29 1998 +0000 @@ -268,6 +268,7 @@ (defun mouse-avoidance-banish-hook () (if (and (not executing-kbd-macro) ; don't check inside macro + (cadr (mouse-position)) ; don't move unless in an Emacs frame ;; Don't do anything if last event was a mouse event. (not (and (consp last-input-event) (symbolp (car last-input-event))
