[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to pop-up a dialog from a pop-up menu?
From: |
wdtsxx-emacs |
Subject: |
How to pop-up a dialog from a pop-up menu? |
Date: |
Fri, 19 Jan 2007 21:24:31 +0800 (CST) |
I run Emacs 22.0.50.2 on Windows2000.
This is my elisp.
(easy-menu-add-item nil '("edit")
["pop-up a dialog"
(lambda()
(interactive)
(x-popup-dialog t '("dialog" ("item" . t))))
1])
(global-set-key [mouse-3]
'(lambda()
(interactive)
(popup-menu menu-bar-edit-menu)))
When I click the mouse-3 and choose "pop-up a dialog"
from the pop-up menu, the "dialog" dialog doesn't
show up.
How to fix it?
___________________________________________________________
抢注雅虎免费邮箱-3.5G容量,20M附件!
http://cn.mail.yahoo.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- How to pop-up a dialog from a pop-up menu?,
wdtsxx-emacs <=