[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hook for C-Mouse-3?

From: Oleksandr Gavenko
Subject: hook for C-Mouse-3?
Date: Mon, 26 Jul 2010 00:35:10 +0300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20091204 Thunderbird/3.0

I discover 'imenu' useful with (imenu-add-menubar-index).

But also I like save visible display area by:

(menu-bar-mode -1) ; This switch IMPORTANT for this mail.
(tool-bar-mode -1)

As menu hidden to access menu items I use

Under 'imenu.el' you can find such code:

(defun imenu-add-to-menubar (name)
  (add-hook 'menu-bar-update-hook 'imenu-update-menubar)
... )

so imenu items in menu updated by 'menu-bar-update-hook'
which seems not invoked in menu-bar disabled.

Is there any hook when opened context menu?

Best regards!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]