emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] xwidget: Add xwidget-webkit-buffer-name-format (Re:Re: About


From: Po Lu
Subject: Re: [PATCH] xwidget: Add xwidget-webkit-buffer-name-format (Re:Re: About rename xwidget-webkit-buffer-name-prefix)
Date: Thu, 11 Nov 2021 08:30:13 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> +                 (rename-buffer
>> +                  (format-spec
>> +                   xwidget-webkit-buffer-name-format
>> +                   `((?T . ,title)))
>> +                  t)))))

> Hmmm... does this mean that the format spec _must_ contain %T?
> Because otherwise all the buffers will have the same name, no?
> Which would mean this change introduces a regression wrt how this
> worked previously, right?

It tells `rename-buffer' to come up with a new name in that cases, which
is pretty much how the old code worked (except it called
`generate-new-buffer-name' manually).

Thanks.



reply via email to

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