From: Eli Zaretskii Date: Wed, 12 Jun 2024 12:21:27 +0000 (+0300) Subject: ; * lisp/menu-bar.el (kill-this-buffer): Another doc fix (bug#71510). X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=880f83f655c38456b916e9d3fb5a39297ccf04e9;p=emacs.git ; * lisp/menu-bar.el (kill-this-buffer): Another doc fix (bug#71510). (cherry picked from commit 6893c327e982528fdc93e3a956a4b6830a09ea3f) --- 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.