Subject: bug#66890: 29.1; buffer-size should also accept the buffer's name as string argument

From: Daniel Nagy <[email-masked]>
Date: Wed, 01 Nov 2023 16:31:01 +0000

Hello,

The current signature of #'buffer-size is:

    (buffer-size &optional BUFFER)

It can only handle actual buffer objects as the argument. Could it be
made to accept the buffer name as a string as well? So that it's
signature would become:

    (buffer-size &optional BUFFER-OR-NAME)

Other functions, like #'get-buffer already do this.

Thanks,
--
Daniel Nagy