Subject: Re: bug#70230: 30.0.50; [PATCH] * lisp/master.el (master-says): check nil parameter

From: Eli Zaretskii <[email-masked]>
Date: Sat, 06 Apr 2024 18:30:10 +0300

> From: Lin Sun <[email-masked]>
> Date: Sat, 6 Apr 2024 15:25:35 +0000
> Cc: [email-masked]
> 
> On Sat, Apr 6, 2024 at 8:06 AM Eli Zaretskii <[email-masked]> wrote:
> > Thanks, but "Slave buffer has disappeared" doesn't sound like a good
> > error message when master-of is nil, does it?
> Totally, the message will confuse the user. I modified the patch and
> it checks the parameter `master-of' and gives a message "Slave buffer
> does not exist" when it's nil.

I think "Slave buffer does not exist" is not the best message, since
the slave master is simply undefined in that case.  A better message
would be something like "Current buffer is not a master of any other
buffer".