; * lisp/menu-bar.el (kill-this-buffer): Another doc fix (bug#71510).
authorEli Zaretskii <eliz@gnu.org>
Wed, 12 Jun 2024 12:21:27 +0000 (15:21 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 12 Jun 2024 12:21:27 +0000 (15:21 +0300)
lisp/menu-bar.el

index 4c0674debd46c501225abc0f3dc825691ac17abd..efce55032c840eed620a98d05a22c781ec1c5d56 100644 (file)
@@ -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.