emacs-devel
[Top][All Lists]
Advanced

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

Re: Zoom: a window management minor mode -- best practices and questions


From: martin rudalics
Subject: Re: Zoom: a window management minor mode -- best practices and questions
Date: Thu, 10 May 2018 12:37:54 +0200

> It doesn't because keeping just the window object doesn't retain the
> visited buffer at the time:
>
>       (setq x (selected-window))
>       (switch-to-buffer "foo")
>       (setq y (selected-window))
>       (equal x y) ; t
>
> So formatting is IMHO a nice workaround to storing also the buffer name.

You're right.

martin



reply via email to

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