>>>>> 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.

Cheers,
Ikumi Keita

Reply via email to