emacs-devel
[Top][All Lists]
Advanced

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

Re: next-window: error if there is none


From: David Kastrup
Subject: Re: next-window: error if there is none
Date: Sat, 13 Jan 2007 18:18:19 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux)

"Drew Adams" <address@hidden> writes:

> Just a question. Is this the behavior we want for next-window?
>
> emacs -Q
> M-: (next-window t)
>
> Debugger entered--Lisp error: (wrong-type-argument window-live-p t)
>   next-window(t)
>   eval((next-window t))
>   eval-expression((next-window t) nil)
>   call-interactively(eval-expression)
>
> I'm just wondering if it shouldn't perhaps return nil if there is no next
> window.

I don't see where you get the idea that passing t as the WINDOW
argument of next-window makes any sense.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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