menu-bar-files-menu
menu-bar-files-menu is a variable defined in `
menu-bar.el
'.
Its value is shown
below.
Documentation:
Not documented as a variable.
Value:
(keymap
(new-file menu-item "Visit New File..." find-file :enable
(menu-bar-non-minibuffer-window-p)
:help "Specify a new file's name, to edit the file")
(open-file menu-item "Open File..." menu-find-file-existing :enable
(menu-bar-non-minibuffer-window-p)
:help "Read an existing file into an Emacs buffer")
(dired menu-item "Open Directory..." dired :enable
(menu-bar-non-minibuffer-window-p)
:help "Read a directory, to operate on its files")
(insert-file menu-item "Insert File..." insert-file :enable
(menu-bar-non-minibuffer-window-p)
:help "Insert another file into current buffer")
(kill-buffer menu-item "Close" kill-this-buffer :enable
(kill-this-buffer-enabled-p)
:help "Discard (kill) current buffer")
(separator-save "--")
(save-buffer menu-item "Save" save-buffer :enable
(and
(buffer-modified-p)
(buffer-file-name)
(menu-bar-non-minibuffer-window-p))
:help "Save current buffer to its file")
(write-file menu-item "Save As..." write-file :enable
(and
(menu-bar-menu-frame-live-and-visible-p)
(menu-bar-non-minibuffer-window-p))
:help "Write current buffer to another file")
(revert-buffer menu-item "Revert Buffer" revert-buffer :enable
(or
(not
(eq revert-buffer-function 'revert-buffer--default))
(not
(eq revert-buffer-insert-file-contents-function 'revert-buffer-insert-file-contents--default-function))
(and buffer-file-number
(or
(buffer-modified-p)
(not
(verify-visited-file-modtime
(current-buffer))))))
:help "Re-read current buffer from its file")
(recover-session menu-item "Recover Crashed Session" recover-session :enable
(and auto-save-list-file-prefix
(file-directory-p
(file-name-directory auto-save-list-file-prefix))
(directory-files
(file-name-directory auto-save-list-file-prefix)
nil
(concat "\\`"
(regexp-quote
(file-name-nondirectory auto-save-list-file-prefix)))
t))
:help "Recover edits from a crashed session")
(separator-print "--")
(print-buffer menu-item "Print Buffer" print-buffer :enable
(menu-bar-menu-frame-live-and-visible-p)
:help "Print current buffer with page headings")
(print-region menu-item "Print Region" print-region :enable mark-active :help "Print region between mark and current position")
(ps-print-buffer-faces menu-item "PostScript Print Buffer" ps-print-buffer-with-faces :enable
(menu-bar-menu-frame-live-and-visible-p)
:help "Pretty-print current buffer to PostScript printer")
(ps-print-region-faces menu-item "PostScript Print Region" ps-print-region-with-faces :enable mark-active :help "Pretty-print marked region to PostScript printer")
(ps-print-buffer menu-item "PostScript Print Buffer (B+W)" ps-print-buffer :enable
(menu-bar-menu-frame-live-and-visible-p)
:help "Pretty-print current buffer in black and white to PostScript printer")
(ps-print-region menu-item "PostScript Print Region (B+W)" ps-print-region :enable mark-active :help "Pretty-print marked region in black and white to PostScript printer")
(separator-window "--")
(new-window-below menu-item "New Window Below" split-window-below :enable
(and
(menu-bar-menu-frame-live-and-visible-p)
(menu-bar-non-minibuffer-window-p))
:help "Make new window below selected one")
(new-window-on-right menu-item "New Window on Right" split-window-right :enable
(and
(menu-bar-menu-frame-live-and-visible-p)
(menu-bar-non-minibuffer-window-p))
:help "Make new window on right of selected one")
(one-window menu-item "Remove Other Windows" delete-other-windows :enable
(not
(one-window-p t nil))
:help "Make selected window fill whole frame")
(separator-frame "--")
(make-frame menu-item "New Frame" make-frame-command :visible
(fboundp 'make-frame-command)
:help "Open a new frame")
(make-frame-on-display menu-item "New Frame on Display..." make-frame-on-display :visible
(fboundp 'make-frame-on-display)
:help "Open a new frame on another display")
(delete-this-frame menu-item "Delete Frame" delete-frame :visible
(fboundp 'delete-frame)
:enable
(delete-frame-enabled-p)
:help "Delete currently selected frame")
(separator-exit "--")
(exit-emacs menu-item "Quit" save-buffers-kill-terminal :help "Save unsaved buffers, then exit")
"File")