On Thu, Oct 14, 2021 at 2:54 PM Ikumi Keita <[email protected]> wrote:
>
> >>>>> Hongyi Zhao <[email protected]> writes:
> > When the buffer is saved, the following error will be triggered:
>
> > let: Wrong number of arguments: erase-buffer, 1
>
> Oops, sorry.  Replace (erase-buffer buf) in the previous code with
> (with-current-buffer buf (erase-buffer))
> , please.

Thanks. It does the trick.

HZ

Reply via email to