Function: tmm-menubar
tmm-menubar is an autoloaded, interactive and byte-compiled function
defined in tmm.el.gz.
Signature
(tmm-menubar &optional X-POSITION)
Documentation
Text-mode emulation of looking and choosing from a menubar.
See the documentation for tmm-prompt.
X-POSITION, if non-nil, specifies a horizontal position within the menu bar;
we make that menu bar item (the one at that position) the default choice.
Note that <f10> (menu-bar-open) by default drops down TTY menus; if you want it
to invoke tmm-menubar instead, customize the variable
tty-menu-open-use-tmm to a non-nil value.
Probably introduced at or before Emacs version 24.4.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/tmm.el.gz
;;;###autoload (define-key global-map "\M-`" 'tmm-menubar)
;;;###autoload
(defun tmm-menubar (&optional x-position)
"Text-mode emulation of looking and choosing from a menubar.
See the documentation for `tmm-prompt'.
X-POSITION, if non-nil, specifies a horizontal position within the menu bar;
we make that menu bar item (the one at that position) the default choice.
Note that \\[menu-bar-open] by default drops down TTY menus; if you want it
to invoke `tmm-menubar' instead, customize the variable
`tty-menu-open-use-tmm' to a non-nil value."
(interactive)
(run-hooks 'menu-bar-update-hook)
(if isearch-mode
(isearch-tmm-menubar)
(let ((menu-bar (menu-bar-keymap))
(menu-bar-item-cons (and x-position
(menu-bar-item-at-x x-position))))
(tmm-prompt menu-bar
nil
(and menu-bar-item-cons (car menu-bar-item-cons))))))