Variable: menu-bar-close-window

menu-bar-close-window is a customizable variable defined in menu-bar.el.gz.

Value

nil

Documentation

Whether or not to close the current window from the menu bar.

If non-nil, selecting Close from the File menu or clicking Close in the tool bar will close the current window where possible.

This variable was added, or its default value changed, in Emacs 30.1.

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/menu-bar.el.gz
(defcustom menu-bar-close-window nil
  "Whether or not to close the current window from the menu bar.
If non-nil, selecting Close from the File menu or clicking Close
in the tool bar will close the current window where possible."
  :type 'boolean
  :group 'menu
  :version "30.1")