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

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

Re: Capture frame, the first entry returned by (mouse-position)


From: Eli Zaretskii
Subject: Re: Capture frame, the first entry returned by (mouse-position)
Date: Sat, 17 Sep 2022 21:35:17 +0300

> Date: Sat, 17 Sep 2022 20:24:25 +0200 (CEST)
> From: wilnerthomas@tutanota.com
> Cc: help-gnu-emacs@gnu.org
> 
> Sep 17, 2022, 18:00 by eliz@gnu.org:
> 
> >> Date: Sat, 17 Sep 2022 20:58:49 +0300
> >> From: Eli Zaretskii <eliz@gnu.org>
> >>
> >> Just 'car (mouse-position)' should do.
> >>
> >
> > That should have been '(car (mouse-position))', of course.
> >
> It is quite obvious, but then when you want to pass it to a function that 
> requires
> FRAME, do you pass it as a string?  

Why a string?  Just pass the value of '(car (mouse-position))'.
That's the frame object those functions want.



reply via email to

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