]> git.eshelyaron.com Git - emacs.git/commitdiff
(edebug-window-live-p): Use
authorGerd Moellmann <gerd@gnu.org>
Fri, 7 Sep 2001 11:32:18 +0000 (11:32 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 7 Sep 2001 11:32:18 +0000 (11:32 +0000)
get-window-with-predicate.

lisp/emacs-lisp/edebug.el

index 70f76e96f32a5fe68ed00821b8a46f77a258cecb..cdd27c483828bc10bfb03141580d1a12d93d2c60 100644 (file)
@@ -307,7 +307,7 @@ A lambda list keyword is a symbol that starts with `&'."
 
 (defun edebug-window-live-p (window)
   "Return non-nil if WINDOW is visible."
-  (some-window (lambda (w) (eq w window))))
+  (get-window-with-predicate (lambda (w) (eq w window))))
 
 ;; Not used.
 '(defun edebug-two-window-p ()