summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2013-11-04 16:09:36 +0200
committerBozhidar Batsov <bozhidar@batsov.com>2013-11-04 16:09:36 +0200
commit46b0a07f2c3c16b7dc3d7ba2e73ebe9b26b3b039 (patch)
tree447fbd7c83c1cbb96d69e0d5e381c327558fe1d0 /lisp
parentd8c4f18a213a29a61c3a16e44261a3912acf1ca2 (diff)
downloademacs-46b0a07f2c3c16b7dc3d7ba2e73ebe9b26b3b039.tar.gz
* lisp/subr.el (version<, version<=, version=):
Update docstrings with information for snapshot versions.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/subr.el13
1 files changed, 6 insertions, 7 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 05562117a51..6bcbe6b9687 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -4672,19 +4672,18 @@ If all LST elements are zeros or LST is nil, return zero."
Note that version string \"1\" is equal to \"1.0\", \"1.0.0\", \"1.0.0.0\",
etc. That is, the trailing \".0\"s are insignificant. Also, version
string \"1\" is higher (newer) than \"1pre\", which is higher than \"1beta\",
-which is higher than \"1alpha\". Also, \"-CVS\" and \"-NNN\" are treated
-as alpha versions."
+which is higher than \"1alpha\", which is higher than \"1snapshot\".
+Also, \"-GIT\", \"-CVS\" and \"-NNN\" are treated as snapshot versions."
(version-list-< (version-to-list v1) (version-to-list v2)))
-
(defun version<= (v1 v2)
"Return t if version V1 is lower (older) than or equal to V2.
Note that version string \"1\" is equal to \"1.0\", \"1.0.0\", \"1.0.0.0\",
etc. That is, the trailing \".0\"s are insignificant. Also, version
string \"1\" is higher (newer) than \"1pre\", which is higher than \"1beta\",
-which is higher than \"1alpha\". Also, \"-CVS\" and \"-NNN\" are treated
-as alpha versions."
+which is higher than \"1alpha\", which is higher than \"1snapshot\".
+Also, \"-GIT\", \"-CVS\" and \"-NNN\" are treated as snapshot versions."
(version-list-<= (version-to-list v1) (version-to-list v2)))
(defun version= (v1 v2)
@@ -4693,8 +4692,8 @@ as alpha versions."
Note that version string \"1\" is equal to \"1.0\", \"1.0.0\", \"1.0.0.0\",
etc. That is, the trailing \".0\"s are insignificant. Also, version
string \"1\" is higher (newer) than \"1pre\", which is higher than \"1beta\",
-which is higher than \"1alpha\". Also, \"-CVS\" and \"-NNN\" are treated
-as alpha versions."
+which is higher than \"1alpha\", which is higher than \"1snapshot\".
+Also, \"-GIT\", \"-CVS\" and \"-NNN\" are treated as snapshot versions."
(version-list-= (version-to-list v1) (version-to-list v2)))