From 95d059bd0e4943c573739f2b014a14dcccd86c04 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 25 May 2000 16:53:22 +0000 Subject: [PATCH] Remove window-system from comments, suggest using display-*-p instead. --- lisp/avoid.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/avoid.el b/lisp/avoid.el index 4f2039fc000..47e8c6adf87 100644 --- a/lisp/avoid.el +++ b/lisp/avoid.el @@ -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 -- 2.39.5