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

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

Re: how can I find out the emacs version?


From: Reiner Steib
Subject: Re: how can I find out the emacs version?
Date: Wed, 15 Aug 2007 21:11:08 +0200
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

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/


reply via email to

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