; * etc/NEWS: Demote outline 'describe-bindings-outline-rules' under Help.

* lisp/menu-bar.el (kill-this-buffer): Fix typo in comments.
This commit is contained in:
Juri Linkov 2023-09-28 09:53:55 +03:00
parent 3b831fe0f4
commit 0c15c7d946
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ For native compiled Lisp functions 'describe-function' prints (after
the signature) the automatically inferred function type as well.
---
** New user option 'describe-bindings-outline-rules'.
*** New user option 'describe-bindings-outline-rules'.
This user option controls outline visibility in the output buffer of
'describe-bindings' when 'describe-bindings-outline' is non-nil.

View file

@ -2227,7 +2227,7 @@ otherwise it could decide to silently do nothing."
((not (menu-bar-menu-frame-live-and-visible-p)))
((menu-bar-non-minibuffer-window-p)
(kill-buffer (current-buffer))
;; Also close the current window if `menu-bar-close-windows' is
;; Also close the current window if `menu-bar-close-window' is
;; set.
(when menu-bar-close-window
(ignore-errors (delete-window))))