|
From: | Chong Yidong |
Subject: | Re: (window-system) returns nil on after-make-frame-functions when creating an X frame |
Date: | Mon, 09 Mar 2009 13:54:30 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Mike Mattie <address@hidden> writes: > To do this I called (window-system) which normally returns "x". It is > not the best idea, but intuitively after the X frame is created it > would sensibly return "x". > > Currently it returns nil. When (window-system) is evaluated in the > scratch buffer sometime after the frame is made, well after > after-make-frame-functions it does indeed return "x". Did you give `window-system' the frame as an argument?
[Prev in Thread] | Current Thread | [Next in Thread] |