Next: Acknowledgements, Previous: Conventions, Up: Introduction
These facilities provide information about which version of Emacs is in use.
This function returns a string describing the version of Emacs that is running. It is useful to include this string in bug reports.
(emacs-version) => "GNU Emacs 20.3.5 (i486-pc-linux-gnulibc1, X toolkit) of Sat Feb 14 1998 on psilocin.gnu.org"Called interactively, the function prints the same information in the echo area.
The value of this variable indicates the time at which Emacs was built at the local site. It is a list of three integers, like the value of
current-time
(see Time of Day).emacs-build-time => (13623 62065 344633)
The value of this variable is the version of Emacs being run. It is a string such as
"20.3.1"
. The last number in this string is not really part of the Emacs release version number; it is incremented each time you build Emacs in any given directory. A value with four numeric components, such as"20.3.9.1"
, indicates an unreleased test version.
The following two variables have existed since Emacs version 19.23: