From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: proper way to determine emacs version in elisp programing?
Date: Fri, 14 Aug 2009 04:18:44 -0700 (PDT) [thread overview]
Message-ID: <4129c418-6374-4a55-b5f0-1fd470abc5b9@x25g2000prf.googlegroups.com> (raw)
In-Reply-To: 87hbwbvu77.fsf@iki.fi
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
prev parent reply other threads:[~2009-08-14 11:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-14 2:52 proper way to determine emacs version in elisp programing? Xah Lee
2009-08-14 5:30 ` Teemu Likonen
2009-08-14 11:18 ` Xah Lee [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4129c418-6374-4a55-b5f0-1fd470abc5b9@x25g2000prf.googlegroups.com \
--to=xahlee@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.