[Top][All Lists]

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

Re: checking emacs version

From: Colin S. Miller
Subject: Re: checking emacs version
Date: Tue, 24 Feb 2009 17:40:37 +0000
User-agent: Mozilla-Thunderbird (X11/20090103)

Leo wrote:
On 2009-02-24 02:59 +0000, Eric wrote:
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?



Under xemacs, I use
(setq custom-file (concat "~/.xemacs/custom-" (symbol-name system-type) ".el"))

This allows me to have a different customisation file for each platform I use.

Colin S. Miller
Replace the obvious in my email address with the first three letters of the 
hostname to reply.

reply via email to

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