bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eli Zaretskii
Subject: bug#70230: 30.0.50; [PATCH] * lisp/master.el (master-says): check nil parameter
Date: Sat, 06 Apr 2024 18:30:10 +0300

> From: Lin Sun <sunlin7.mail@gmail.com>
> Date: Sat, 6 Apr 2024 15:25:35 +0000
> Cc: 70230@debbugs.gnu.org
> 
> On Sat, Apr 6, 2024 at 8:06 AM Eli Zaretskii <eliz@gnu.org> 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".





reply via email to

[Prev in Thread] Current Thread [Next in Thread]