emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 bc55a57: * lisp/menu-bar.el (kill-this-buffer): D


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 bc55a57: * lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466)
Date: Wed, 12 Apr 2017 15:44:38 -0400 (EDT)

branch: emacs-25
commit bc55a5742352f14b1ff3c50d19b5d00f087bd466
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    * lisp/menu-bar.el (kill-this-buffer): Doc fix.  (Bug#26466)
---
 lisp/menu-bar.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 208f4c2..1594270 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]