help-gnu-emacs
[Top][All Lists]
Advanced

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

proper way to determine emacs version in elisp programing?


From: Xah Lee
Subject: proper way to determine emacs version in elisp programing?
Date: Thu, 13 Aug 2009 19:52:49 -0700 (PDT)
User-agent: G2/1.0

what's the proper way to determine emacs version?

i use this code:

(if (string= (substring-no-properties emacs-version 0 2) "23" )
; is 23
; not 23
)

is there more robust way?

thanks.

  Xah
∑ http://xahlee.org/

reply via email to

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