From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Dashes in mode-line Date: Tue, 19 Oct 2010 15:21:30 -0400 Message-ID: <87r5fmf0p1.fsf@stupidchicken.com> References: <87lj5u1ni6.fsf@keller.adm.naquadah.org> <87bp6q1b4g.fsf@keller.adm.naquadah.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1287516126 9020 80.91.229.12 (19 Oct 2010 19:22:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Oct 2010 19:22:06 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 19 21:22:05 2010 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.69) (envelope-from ) id 1P8Hl0-0007lz-VI for ged-emacs-devel@m.gmane.org; Tue, 19 Oct 2010 21:22:04 +0200 Original-Received: from localhost ([127.0.0.1]:58159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8Hko-0006zU-Mn for ged-emacs-devel@m.gmane.org; Tue, 19 Oct 2010 15:21:46 -0400 Original-Received: from [140.186.70.92] (port=35967 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8Hkf-0006y4-7Z for emacs-devel@gnu.org; Tue, 19 Oct 2010 15:21:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8HkZ-0006Kc-BG for emacs-devel@gnu.org; Tue, 19 Oct 2010 15:21:32 -0400 Original-Received: from pantheon-po16.its.yale.edu ([130.132.50.72]:53382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8HkZ-0006KS-8z for emacs-devel@gnu.org; Tue, 19 Oct 2010 15:21:31 -0400 Original-Received: from furry (dhcp128036014158.central.yale.edu [128.36.14.158]) (authenticated bits=0) by pantheon-po16.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o9JJLUsK023519 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 19 Oct 2010 15:21:30 -0400 Original-Received: by furry (Postfix, from userid 1000) id 520B3C018; Tue, 19 Oct 2010 15:21:30 -0400 (EDT) In-Reply-To: <87bp6q1b4g.fsf@keller.adm.naquadah.org> (Julien Danjou's message of "Tue, 19 Oct 2010 16:59:59 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:131857 Archived-At: Julien Danjou writes: > On Tue, Oct 19 2010, Eli Zaretskii wrote: > >> Using window-system is not right here, because the DOS port defines a >> non-nil value, but uses a text terminal. > > Fine, new version attached. I think `display-graphic-p' is what you want. I've checked in your patch, with that correction. Thanks.