# HG changeset patch # User Eli Zaretskii # Date 959273602 0 # Node ID 28c61db89225d53938ae8a1787d08a67388ae5dc # Parent cc07870ddb45e73b35930ab61f7dfc2c150f2967 Remove window-system from comments, suggest using display-*-p instead. diff -r cc07870ddb45 -r 28c61db89225 lisp/avoid.el --- a/lisp/avoid.el Thu May 25 16:51:21 2000 +0000 +++ b/lisp/avoid.el Thu May 25 16:53:22 2000 +0000 @@ -30,7 +30,7 @@ ;; To use, load or evaluate this file and type M-x mouse-avoidance-mode . ;; To set up permanently, put the following in your .emacs: ;; -;; (if window-system (mouse-avoidance-mode 'animate)) +;; (if (display-mouse-p) (mouse-avoidance-mode 'animate)) ;; ;; Other legitimate alternatives include ;; `banish', `exile', `jump', `cat-and-mouse', and `proteus'. @@ -41,7 +41,7 @@ ;; For added silliness, make the animatee animate... ;; put something similar to the following into your .emacs: ;; -;; (if window-system +;; (if (eq window-system 'x) ;; (mouse-avoidance-set-pointer-shape ;; (eval (nth (random 4) ;; '(x-pointer-man x-pointer-spider