[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make window-list return windows for all frames

From: martin rudalics
Subject: Re: Make window-list return windows for all frames
Date: Fri, 16 Jun 2023 16:21:54 +0200

>> Yes, window-list and window-list-1 becaomes the same, just with arguments in
>> different order. Could even remove c version of window-list, and implement 
it as
>> a call to window-list-1. Less code, less maintanance.
> Martin, are there any reason we'd not want window-list to accept t as
> the FRAME argument?

None on my side.  The current implementation of 'window-list' simply
throws an error for (window-list t).  Back then I made 'window-list-1' a
separate function because with

(defvar frame-1 (selected-frame))
(defvar window-2 (frame-root-window (make-frame)))


(window-list frame-1 nil window-2)

complains while

(window-list-1 window-2 nil frame-1)

doesn't.  People were picky about such issues in the past.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]