From: Gerd Moellmann Date: Fri, 7 Sep 2001 11:29:48 +0000 (+0000) Subject: (get-window-with-predicate): Renamed from some-window. X-Git-Tag: emacs-pretest-21.0.106~209 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d4d986f24eef4ce19096fe94be88e9a9d61bd584;p=emacs.git (get-window-with-predicate): Renamed from some-window. (some-window): Make it an alias. --- 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)))