From: Eli Zaretskii Date: Thu, 14 Jul 2011 06:50:21 +0000 (-0400) Subject: lisp/subr.el (version-*): Doc fix. X-Git-Tag: emacs-pretest-24.0.90~104^2~293 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7e5bfb8fec244ab07253d1dd95fcef0673b89cbc;p=emacs.git lisp/subr.el (version-*): Doc fix. lisp/subr.el (version<, version<=, version=): Mention "-CVS" and "-12345" alpha version numbers. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6d652931328..7f86e6ef53f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-07-14 Eli Zaretskii + + * subr.el (version<, version<=, version=): Mention "-CVS" and + "-12345" alpha version numbers. + 2011-07-14 Chong Yidong * 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." 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\"." +which is higher than \"1alpha\". Also, \"-CVS\" and \"-NNN\" are treated +as alpha versions." (version-list-< (version-to-list v1) (version-to-list v2))) @@ -4097,7 +4098,8 @@ which is higher than \"1alpha\"." 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\"." +which is higher than \"1alpha\". Also, \"-CVS\" and \"-NNN\" are treated +as alpha versions." (version-list-<= (version-to-list v1) (version-to-list v2))) (defun version= (v1 v2) @@ -4106,7 +4108,8 @@ which is higher than \"1alpha\"." 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\"." +which is higher than \"1alpha\". Also, \"-CVS\" and \"-NNN\" are treated +as alpha versions." (version-list-= (version-to-list v1) (version-to-list v2)))