From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.help Subject: Re: how can I find out the emacs version? Date: Wed, 15 Aug 2007 21:11:08 +0200 Organization: T-Online Message-ID: References: <87zm0tgdem.fsf@pu100877.student.princeton.edu> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187206836 10273 80.91.229.12 (15 Aug 2007 19:40:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2007 19:40:36 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 15 21:40:33 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ILOjI-0005ii-Iw for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2007 21:40:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILOjH-0002iW-Tw for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2007 15:40:31 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-X-Trace: news.t-online.com 1187205298 00 24152 iFg+6BELoXZSDGv 070815 19:14:58 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: XjvUqsZVYelivbzG7HD4wucSnpyS6vXi0GInx95roMoiFb2b1Sa4U3 X-Face: :6KQZ[nyoS_edmB.%gw-=)BYth^|2+Y+^cu%I$FSx!&>-'om>3H7A|M&n(V7fIo3P.; yo.b yq4$p; ZaBtkv)\}biaiBQe"mD}iib1AA@99-fZ7i*bLhNRVC&0Wkxg9)SH?oWc@{ Mail-Copies-To: nobody User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:gLSv2KHKw20E/Uv+id5T+m2qtBk= Original-Xref: shelby.stanford.edu gnu.emacs.help:151008 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46581 Archived-At: On Wed, Aug 15 2007, Tamas Papp wrote: > I would like to find out the version number of my emacs -- I want to > make the font choice in .emacs conditional on whether the version is > smaller than 23 (because from 23, it supports TrueType fonts with xft). Mostly it is better to test for a feature, function or variable instead of a version number[1]. I don't know which one would be suitable for XFT. [1] See... ,----[ (info "(emacs)Init Examples") ] | * Adjusting the configuration to various platforms and Emacs | versions. `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/