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

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

Re: [External] : window-other.el / ref-lines.el


From: Emanuel Berg
Subject: Re: [External] : window-other.el / ref-lines.el
Date: Tue, 17 Jan 2023 22:41:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Drew Adams wrote:

> `with-selected-window' does its BODY with its WINDOW
> selected. You could (if that were what you wanted) define
> a `with-other-window' which did the equivalent for the
> `next-window':
>
> (defmacro with-other-window (&rest body)
>   `(with-selected-window (next-window) ,@body))

Okay, absolutely, didn't know of `with-selected-window' ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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