Subject: 31.0.50; `buffer-to-register' stores the buffer object instead of buffer name

From: Zhengyi Fu <[email-masked]>
Date: Fri, 15 Aug 2025 17:53:06 +0800

Hi Emacs,

According to the manual (info "(elisp) Registers") buffer registers only
contains buffer names, but `buffer-to-register' actually stores buffer
objects into registers.

This relates to this discussion of consult:
https://github.com/minad/consult/discussions/1254