[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proper way to determine emacs version in elisp programing?
From: |
Xah Lee |
Subject: |
Re: proper way to determine emacs version in elisp programing? |
Date: |
Fri, 14 Aug 2009 04:18:44 -0700 (PDT) |
User-agent: |
G2/1.0 |
On Aug 13, 10:30 pm, Teemu Likonen <tliko...@iki.fi> wrote:
> On 2009-08-13 19:52 (-0700), Xah Lee wrote:
>
> > what's the proper way to determine emacs version?
>
> Variables emacs-major-version and emacs-minor-version. They contain an
> integer.
>
> But if you need to check if some feature exists in the system you'd
> better check precisely that. For example, check the existence of some
> function with (fboundp ...).
Thanks. Good points.
Xah