From d4d986f24eef4ce19096fe94be88e9a9d61bd584 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 7 Sep 2001 11:29:48 +0000 Subject: [PATCH] (get-window-with-predicate): Renamed from some-window. (some-window): Make it an alias. --- lisp/window.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/window.el b/lisp/window.el index 19c3fa71c30..4d97117a4eb 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -84,7 +84,8 @@ Anything else means restrict to the selected frame." (cons walk-windows-current walk-windows-already-seen)) (funcall proc walk-windows-current))))) -(defun some-window (predicate &optional minibuf all-frames default) +(defun get-window-with-predicate (predicate &optional minibuf + all-frames default) "Return a window satisfying PREDICATE. This function cycles through all visible windows using `walk-windows', @@ -119,6 +120,8 @@ Anything else means restrict to the selected frame." minibuf all-frames) default)) +(defalias 'some-window 'get-window-with-predicate) + (defun minibuffer-window-active-p (window) "Return t if WINDOW (a minibuffer window) is now active." (eq window (active-minibuffer-window))) -- 2.39.2