* lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466)

This commit is contained in:
Eli Zaretskii 2017-04-12 22:44:00 +03:00
parent a6d50401b4
commit bc55a57423

View 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