Function: tab-line-tab-context-menu

tab-line-tab-context-menu is an interactive and byte-compiled function defined in tab-line.el.gz.

Signature

(tab-line-tab-context-menu &optional EVENT)

Documentation

Pop up the context menu for a tab-line tab.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/tab-line.el.gz
(defun tab-line-tab-context-menu (&optional event)
  "Pop up the context menu for a tab-line tab."
  (interactive "e")
  (let ((menu (make-sparse-keymap (propertize "Context Menu" 'hide t))))
    (define-key-after menu [close]
      '(menu-item "Close" tab-line-close-tab :help "Close the tab"))
    (popup-menu menu event)))