Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
46b0a07f
Commit
46b0a07f
authored
Nov 04, 2013
by
Bozhidar Batsov
Browse files
* lisp/subr.el (version<, version<=, version=):
Update docstrings with information for snapshot versions.
parent
d8c4f18a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
lisp/subr.el
lisp/subr.el
+6
-7
No files found.
lisp/subr.el
View file @
46b0a07f
...
...
@@ -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\"
an
d
\"
-NNN\" are treated
as alpha
versions."
which is higher than \"1alpha\"
, which is higher th
an \"
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\"
an
d
\"
-NNN\" are treated
as alpha
versions."
which is higher than \"1alpha\"
, which is higher th
an \"
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\"
an
d
\"
-NNN\" are treated
as alpha
versions."
which is higher than \"1alpha\"
, which is higher th
an \"
1snapshot\".
Also, \"-GIT\", \"-CVS\" and \"-NNN\" are treated as snapshot
versions."
(
version-list-=
(
version-to-list
v1
)
(
version-to-list
v2
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment