* lisp/mouse.el (popup-menu-normalize-position): New function.
authorMasatake YAMATO <yamato@redhat.com>
Fri, 10 Aug 2012 12:44:06 +0000 (08:44 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 10 Aug 2012 12:44:06 +0000 (08:44 -0400)
commitc69f56a207451f7f874877d02a44d4e4e6353b03
treea5a2a44790c1fe84fa8d575600415a8574a93ad7
parent9ff736dc87d2e9f1d529adb00d0c3e3080142e71
* lisp/mouse.el (popup-menu-normalize-position): New function.
(popup-menu): Use `popup-menu-normalize-position' to normalize
the form for POSITION argument.
* lisp/term/x-win.el (x-menu-bar-open):
Use the value returend from (posn-at-point) as position
passed to `popup-menu'.
lisp/ChangeLog
lisp/mouse.el
lisp/term/x-win.el