From 880f83f655c38456b916e9d3fb5a39297ccf04e9 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). (cherry picked from commit 6893c327e982528fdc93e3a956a4b6830a09ea3f) --- 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 b4cb4f49e0f..ef10abedcbf 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el @@ -2228,7 +2228,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. -- 2.39.2