Mercurial > emacs
diff lisp/avoid.el @ 29200:28c61db89225
Remove window-system from comments, suggest using display-*-p instead.
| author | Eli Zaretskii <eliz@gnu.org> |
|---|---|
| date | Thu, 25 May 2000 16:53:22 +0000 |
| parents | b59523f7ce40 |
| children | 48ef50f314bf |
line wrap: on
line diff
--- 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
