diff options
| author | Eli Zaretskii | 2017-04-12 22:44:00 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-04-12 22:44:00 +0300 |
| commit | bc55a5742352f14b1ff3c50d19b5d00f087bd466 (patch) | |
| tree | f9437b36dec1138c5726298b3cc80691f59b3035 | |
| parent | a6d50401b4b858520f9e331f0b4e80e0e0278bbf (diff) | |
| download | emacs-bc55a5742352f14b1ff3c50d19b5d00f087bd466.tar.gz emacs-bc55a5742352f14b1ff3c50d19b5d00f087bd466.zip | |
* lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466)
| -rw-r--r-- | lisp/menu-bar.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el index 208f4c2c935..15942702c89 100644 --- a/lisp/menu-bar.el +++ b/lisp/menu-bar.el | |||
| @@ -1904,7 +1904,10 @@ updating the menu." | |||
| 1904 | (defun kill-this-buffer () ; for the menu bar | 1904 | (defun kill-this-buffer () ; for the menu bar |
| 1905 | "Kill the current buffer. | 1905 | "Kill the current buffer. |
| 1906 | When called in the minibuffer, get out of the minibuffer | 1906 | When called in the minibuffer, get out of the minibuffer |
| 1907 | using `abort-recursive-edit'." | 1907 | using `abort-recursive-edit'. |
| 1908 | |||
| 1909 | This command can be reliably invoked only from the menu bar, | ||
| 1910 | otherwise it could decide to silently do nothing." | ||
| 1908 | (interactive) | 1911 | (interactive) |
| 1909 | (cond | 1912 | (cond |
| 1910 | ;; Don't do anything when `menu-frame' is not alive or visible | 1913 | ;; Don't do anything when `menu-frame' is not alive or visible |