Commit bc55a574 authored by Eli Zaretskii's avatar Eli Zaretskii

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

parent a6d50401
...@@ -1904,7 +1904,10 @@ updating the menu." ...@@ -1904,7 +1904,10 @@ updating the menu."
(defun kill-this-buffer () ; for the menu bar (defun kill-this-buffer () ; for the menu bar
"Kill the current buffer. "Kill the current buffer.
When called in the minibuffer, get out of the minibuffer 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) (interactive)
(cond (cond
;; Don't do anything when `menu-frame' is not alive or visible ;; Don't do anything when `menu-frame' is not alive or visible
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment