From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: (window-system) returns nil on after-make-frame-functions when creating an X frame Date: Mon, 09 Mar 2009 16:10:37 -0400 Message-ID: References: <20090309170208.GA6650@reforged> <87ocwabmzt.fsf@cyd.mit.edu> <20090309183851.GA6923@reforged> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236632525 7719 80.91.229.12 (9 Mar 2009 21:02:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Mar 2009 21:02:05 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Mike Mattie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 09 22:03:20 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LgmcV-0002T0-6N for ged-emacs-devel@m.gmane.org; Mon, 09 Mar 2009 22:02:43 +0100 Original-Received: from localhost ([127.0.0.1]:39762 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lgmb9-0006Zv-LH for ged-emacs-devel@m.gmane.org; Mon, 09 Mar 2009 17:01:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgloC-0000uX-A7 for emacs-devel@gnu.org; Mon, 09 Mar 2009 16:10:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lglo8-0000pD-A2 for emacs-devel@gnu.org; Mon, 09 Mar 2009 16:10:43 -0400 Original-Received: from [199.232.76.173] (port=57250 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lglo8-0000on-5i for emacs-devel@gnu.org; Mon, 09 Mar 2009 16:10:40 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:31296 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lglo7-0007JN-FV for emacs-devel@gnu.org; Mon, 09 Mar 2009 16:10:39 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsQEAAUVtUlMCogC/2dsb2JhbACBTs92hAUGhCE X-IronPort-AV: E=Sophos;i="4.38,330,1233550800"; d="scan'208";a="34925456" Original-Received: from 76-10-136-2.dsl.teksavvy.com (HELO pastel.home) ([76.10.136.2]) by ironport2-out.teksavvy.com with ESMTP; 09 Mar 2009 16:10:38 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 82FF37FA2; Mon, 9 Mar 2009 16:10:37 -0400 (EDT) In-Reply-To: <20090309183851.GA6923@reforged> (Mike Mattie's message of "Mon, 9 Mar 2009 11:38:53 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:109528 Archived-At: > (defun is-current-frame-x () > (message "window system is %s" (princ (window-system (selected-frame)))) > (equal 'x (window-system (selected-frame))) > ) Please check which frame is (selected-frame). Stefan