From 6893c327e982528fdc93e3a956a4b6830a09ea3f Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 12 Jun 2024 15:21:27 +0300 Subject: [PATCH] ; * lisp/menu-bar.el (kill-this-buffer): Another doc fix (bug#71510). --- lisp/menu-bar.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 4c0674debd4..efce55032c8 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -2240,7 +2240,8 @@ using `abort-recursive-edit'. This command must be bound to a mouse event, and can be reliably invoked only from the menu bar, otherwise it could decide to silently -do nothing or signal an error." +do nothing or signal an error. Use `kill-current-buffer' if you +need to invoke a similar command from keyboard." (interactive "e") ;; This colossus of a conditional is necessary to account for the wide ;; variety of this command's callers.