help-gnu-emacs
[Top][All Lists]
Advanced

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

x-popup-menu - window object


From: Tim Johnson
Subject: x-popup-menu - window object
Date: Wed, 27 Sep 2006 01:53:09 -0000
User-agent: slrn/0.9.8.0 (Linux)

Hi:
This works:
(x-popup-menu t '("Title" ("--" ("Line One" . 1))))

This:
(x-popup-menu 
  '((50 50) (selected-window)) '("Title" ("--" ("Line One" .  1))))

Throws the following:  
Lisp error: (wrong-type-argument windowp (selected-window))

Documentation for x-popup-menu says
""" POSITION is a position specification.  This is either a mouse button event
or a list ((XOFFSET YOFFSET) WINDOW) """

evaluating (windowp (selected-window)) returns t

So what is wrong the with the 'call' to selected-window?
Thanks
Tim

-- 
Tim Johnson <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com


reply via email to

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