summaryrefslogtreecommitdiff
path: root/lisp/version.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2007-02-28 16:28:16 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2007-02-28 16:28:16 +0000
commitf80c9f4375f58510f6578ea63e9651c59d18c103 (patch)
treee4e44d9b4823f2194ec1b0291987933873b87ba2 /lisp/version.el
parent2d24dbb50fe81d19f2a625e53ce87536ade69193 (diff)
downloademacs-f80c9f4375f58510f6578ea63e9651c59d18c103.tar.gz
(emacs-major-version, emacs-minor-version): string-to-int -> string-to-number.
Diffstat (limited to 'lisp/version.el')
-rw-r--r--lisp/version.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/version.el b/lisp/version.el
index fce42b67f06..fcc95ed0c11 100644
--- a/lisp/version.el
+++ b/lisp/version.el
@@ -32,13 +32,13 @@ Version numbers of this version of Emacs.")
(defconst emacs-major-version
(progn (string-match "^[0-9]+" emacs-version)
- (string-to-int (match-string 0 emacs-version)))
+ (string-to-number (match-string 0 emacs-version)))
"Major version number of this version of Emacs.
This variable first existed in version 19.23.")
(defconst emacs-minor-version
(progn (string-match "^[0-9]+\\.\\([0-9]+\\)" emacs-version)
- (string-to-int (match-string 1 emacs-version)))
+ (string-to-number (match-string 1 emacs-version)))
"Minor version number of this version of Emacs.
This variable first existed in version 19.23.")
@@ -92,5 +92,5 @@ to the system configuration; look at `system-configuration' instead."
;;version-control: never
;;End:
-;;; arch-tag: e60dc445-6218-4a4c-a7df-f15a818642a0
+;; arch-tag: e60dc445-6218-4a4c-a7df-f15a818642a0
;;; version.el ends here