[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proper way to determine emacs version in elisp programing?
From: |
Teemu Likonen |
Subject: |
Re: proper way to determine emacs version in elisp programing? |
Date: |
Fri, 14 Aug 2009 08:30:04 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
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 ...).