]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466)
authorEli Zaretskii <eliz@gnu.org>
Wed, 12 Apr 2017 19:44:00 +0000 (22:44 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 12 Apr 2017 19:44:00 +0000 (22:44 +0300)
lisp/menu-bar.el

index 208f4c2c9358d7276bfe79f0081ad99030846709..15942702c899fe35180bd053c852d79e6e8b150d 100644 (file)
@@ -1904,7 +1904,10 @@ updating the menu."
 (defun kill-this-buffer ()     ; for the menu bar
   "Kill the current buffer.
 When called in the minibuffer, get out of the minibuffer
-using `abort-recursive-edit'."
+using `abort-recursive-edit'.
+
+This command can be reliably invoked only from the menu bar,
+otherwise it could decide to silently do nothing."
   (interactive)
   (cond
    ;; Don't do anything when `menu-frame' is not alive or visible