[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how can I find out the emacs version?
From: |
Sven Joachim |
Subject: |
Re: how can I find out the emacs version? |
Date: |
Wed, 15 Aug 2007 15:11:32 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
Tamas Papp <tkpapp@gmail.com> writes:
> 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).
>
> I found emacs-version, but that returns a string. Do you I have to
> parse this for the version _number_, or is there another way?
There are emacs-major-version and emacs-minor-version.