GNU bug report logs - #16793
window-state-put needs a live window

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Tue, 18 Feb 2014 16:21:02 UTC

Severity: normal

Found in version 24.3.50

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 16793 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 16793 <at> debbugs.gnu.org
Subject: Re: bug#16793: window-state-put needs a live window
Date: Tue, 18 Feb 2014 22:26:54 +0100
> Was this:
> 
>> +       (setq window (catch 'live
>> +                      (walk-window-subtree
>> +                       (lambda (window)
>> +                         (when (window-live-p window)))
>> +                       root))))
> 
> intended to be
> 
>   (setq window (catch 'live
>                  (walk-window-subtree
>                   (lambda (window)
>                     (when (window-live-p window)
>                       (throw 'live window)))
>                   root))))
> 
> I suppose?

You suppose correctly.

martin





This bug report was last modified 11 years and 94 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.