home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Education Sampler 1992 [NeXTSTEP]
/
Education_1992_Sampler.iso
/
NeXT
/
GnuSource
/
emacs-15.0.3
/
lisp
/
version.el
< prev
next >
Wrap
Lisp/Scheme
|
1990-08-16
|
2KB
|
47 lines
;; Record version number of Emacs.
;; Copyright (C) 1985 Free Software Foundation, Inc.
;; This file is part of GNU Emacs.
;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY. No author or distributor
;; accepts responsibility to anyone for the consequences of using it
;; or for whether it serves any particular purpose or works at all,
;; unless he says so in writing. Refer to the GNU Emacs General Public
;; License for full details.
;; Everyone is granted permission to copy, modify and redistribute
;; GNU Emacs, but only under the conditions described in the
;; GNU Emacs General Public License. A copy of this license is
;; supposed to have been given to you along with GNU Emacs so you
;; can know your rights and responsibilities. It should be in a
;; file named COPYING. Among other things, the copyright notice
;; and this notice must be preserved on all copies.
;; The following line is modified automatically
;; by loading inc-version.el, each time a new Emacs is dumped.
(defconst emacs-version "18.55.118" "\
Version numbers of this version of Emacs.")
(defconst emacs-build-time (current-time-string) "\
Time at which Emacs was dumped out.")
(defconst emacs-build-system (system-name))
(defun emacs-version () "\
Return string describing the version of Emacs that is running."
(interactive)
(if (interactive-p)
(message "%s" (emacs-version))
(format "GNU Emacs %s of %s %s on %s (%s)"
emacs-version
(substring emacs-build-time 0
(string-match " *[0-9]*:" emacs-build-time))
(substring emacs-build-time (string-match "[0-9]*$" emacs-build-time))
emacs-build-system system-type)))
;;Local variables:
;;version-control: never
;;End: