aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/subr.el9
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6d652931328..7f86e6ef53f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-07-14 Eli Zaretskii <eliz@gnu.org>
2
3 * subr.el (version<, version<=, version=): Mention "-CVS" and
4 "-12345" alpha version numbers.
5
12011-07-14 Chong Yidong <cyd@stupidchicken.com> 62011-07-14 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * bindings.el: Add advertised binding for set-mark-command 8 * bindings.el: Add advertised binding for set-mark-command
diff --git a/lisp/subr.el b/lisp/subr.el
index 5c890eefa29..94b28c007d1 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -4087,7 +4087,8 @@ If all LST elements are zeros or LST is nil, return zero."
4087Note that version string \"1\" is equal to \"1.0\", \"1.0.0\", \"1.0.0.0\", 4087Note that version string \"1\" is equal to \"1.0\", \"1.0.0\", \"1.0.0.0\",
4088etc. That is, the trailing \".0\"s are insignificant. Also, version 4088etc. That is, the trailing \".0\"s are insignificant. Also, version
4089string \"1\" is higher (newer) than \"1pre\", which is higher than \"1beta\", 4089string \"1\" is higher (newer) than \"1pre\", which is higher than \"1beta\",
4090which is higher than \"1alpha\"." 4090which is higher than \"1alpha\". Also, \"-CVS\" and \"-NNN\" are treated
4091as alpha versions."
4091 (version-list-< (version-to-list v1) (version-to-list v2))) 4092 (version-list-< (version-to-list v1) (version-to-list v2)))
4092 4093
4093 4094
@@ -4097,7 +4098,8 @@ which is higher than \"1alpha\"."
4097Note that version string \"1\" is equal to \"1.0\", \"1.0.0\", \"1.0.0.0\", 4098Note that version string \"1\" is equal to \"1.0\", \"1.0.0\", \"1.0.0.0\",
4098etc. That is, the trailing \".0\"s are insignificant. Also, version 4099etc. That is, the trailing \".0\"s are insignificant. Also, version
4099string \"1\" is higher (newer) than \"1pre\", which is higher than \"1beta\", 4100string \"1\" is higher (newer) than \"1pre\", which is higher than \"1beta\",
4100which is higher than \"1alpha\"." 4101which is higher than \"1alpha\". Also, \"-CVS\" and \"-NNN\" are treated
4102as alpha versions."
4101 (version-list-<= (version-to-list v1) (version-to-list v2))) 4103 (version-list-<= (version-to-list v1) (version-to-list v2)))
4102 4104
4103(defun version= (v1 v2) 4105(defun version= (v1 v2)
@@ -4106,7 +4108,8 @@ which is higher than \"1alpha\"."
4106Note that version string \"1\" is equal to \"1.0\", \"1.0.0\", \"1.0.0.0\", 4108Note that version string \"1\" is equal to \"1.0\", \"1.0.0\", \"1.0.0.0\",
4107etc. That is, the trailing \".0\"s are insignificant. Also, version 4109etc. That is, the trailing \".0\"s are insignificant. Also, version
4108string \"1\" is higher (newer) than \"1pre\", which is higher than \"1beta\", 4110string \"1\" is higher (newer) than \"1pre\", which is higher than \"1beta\",
4109which is higher than \"1alpha\"." 4111which is higher than \"1alpha\". Also, \"-CVS\" and \"-NNN\" are treated
4112as alpha versions."
4110 (version-list-= (version-to-list v1) (version-to-list v2))) 4113 (version-list-= (version-to-list v1) (version-to-list v2)))
4111 4114
4112 4115