Subject: bug#71510: 30.0.50; kill-this-buffer must be bound to an event with parameters

From: Eli Zaretskii <[email-masked]>
Date: Wed, 12 Jun 2024 13:54:06 +0300

tags 71510 notabug
thanks

> Date: Wed, 12 Jun 2024 11:06:36 +0200
> From: Mattias <[email-masked]>
> 
> 
> kill-this-buffer is not working as before anymore.
> 
> Old behaviour:
> 
> e -Q
> C-x 3
> M-x kill-this-buffer
> 
> would kill the current buffer and display only one frame
> 
> e -Q
> C-x 3
> M-x kill-this-buffer
> 
> Will raise an error:
> 
> Debugger entered--Lisp error: (error "kill-this-buffer must be bound to 
> an event with parameters")
> command-execute(kill-this-buffer record)
> execute-extended-command(nil "kill-this-buffer" "kill-th")
> funcall-interactively(execute-extended-command nil "kill-this-buffer" 
> "kill-th")
> command-execute(execute-extended-command)

This is the intended behavior, not a bug: this command must be invoked
from a mouse event.