[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: checking emacs version
From: |
Pascal J. Bourguignon |
Subject: |
Re: checking emacs version |
Date: |
Tue, 24 Feb 2009 19:37:02 +0100 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/22.3 (darwin) |
Eric <girzel@gmail.com> writes:
> I'm writing an .emacs file that will need to work under a few
> different versions of emacs, and wanted to ask what the most reliable
> method of checking the current emacs version. Is a simple string
> search in (emacs-version) acceptable, or is there a more robust way of
> doing it?
(list
emacs-version emacs-major-version emacs-minor-version
system-type system-name system-configuration
window-system
(when (boundp 'aquamacs-version) aquamacs-version))
-->
("22.3.1" 22 3 darwin "galatea.local" "i386-apple-darwin9.5.0" x nil) ; here.
--
__Pascal Bourguignon__
Re: checking emacs version, Leo, 2009/02/24
Message not available
Re: checking emacs version,
Pascal J. Bourguignon <=