emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] externals/hyperbole da94aa592b 1/2: Fix global button creatio


From: Stefan Monnier
Subject: Re: [elpa] externals/hyperbole da94aa592b 1/2: Fix global button creation to put button in the proper buffer
Date: Sun, 23 Jan 2022 16:31:44 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>          (save-excursion
> +       (set-buffer but-buf)

AKA `with-current-buffer`.

>        (save-excursion
> +     (set-buffer but-buf)

Same here.

Well, it's not actually the same, but `with-current-buffer` is better
behaved (and marginally more efficient).


        Stefan




reply via email to

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