emacs-devel
[Top][All Lists]
Advanced

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

Re: fix for bug#29935 copyright-update inserts year at random places


From: martin rudalics
Subject: Re: fix for bug#29935 copyright-update inserts year at random places
Date: Mon, 08 Jan 2018 10:53:01 +0100

> But this is a fairly normal/common need: display a buffer temporarily.
> So we should have a "canned" answer.
> I'm thinking of something like
>
>      (let ((x (temporary-display-buffer BUF)))

What kind of object would "x" be?

>      +
>
>      (temporary-undisplay-buffer x)
>
> where hopefully this would handle the case where
> temporary-display-buffer needs to use a separate frame, as well as the
> case where BUF is already displayed somewhere.

If "x" is a window, then `quit-restore-window' should know how to deal
with it.  So please tell what's missing in `with-temp-buffer-window'.

martin



reply via email to

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