bug-gnu-emacs
[Top][All Lists]
Advanced

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

Re: other-window: say there is none if none


From: Richard Stallman
Subject: Re: other-window: say there is none if none
Date: Tue, 14 Nov 2006 07:26:58 -0500

    -  Fselect_window (window, Qnil);
    +  if (!EQ (window, old))
    +    Fselect_window (window, Qnil);
    +  else if (Finteractive_p () && EQ (window, Fnext_window (window, Qnil, 
Qnil)))
    +    error ("No other windows");

I am not sure this is a good idea.  Displaying a message can't hurt
when the command is called interactively, but this change would cause
programs that call other-window to get errors where they didn't get
errors before.

This doesn't need to be changed now, so please leave it alone.




reply via email to

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