unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* proper way to determine emacs version in elisp programing?
@ 2009-08-14  2:52 Xah Lee
  2009-08-14  5:30 ` Teemu Likonen
  0 siblings, 1 reply; 3+ messages in thread
From: Xah Lee @ 2009-08-14  2:52 UTC (permalink / raw)
  To: help-gnu-emacs

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/^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-14 11:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).