Hi all,
Here is the docstring of semantic-required-version:
"semantic-require-version is a compiled Lisp function in `semantic'.
(semantic-require-version MAJOR MINOR &optional BETA)
Non-nil if this version of semantic does not satisfy a specific version.
Arguments can be:
(MAJOR MINOR &optional BETA)
Values MAJOR and MINOR must be integers. BETA can be an integer, or
excluded if a released version is required.
It is assumed that if the current version is newer than that specified,
everything passes. Exceptions occur when known incompatibilities are
introduced."
Not that the arguments are needed as integers - at least the doctsring =
says ;-)
But when i try to run: (semantic-require-version 2 0 1) i get this =
error:
Debugger entered--Lisp error: (wrong-type-argument sequencep 1)
semantic-require-version(2 0 1)
eval((semantic-require-version 2 0 1))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
* call-interactively(eval-last-sexp)
When i call: (semantic-require-version "2" "0" "1")
all is working fine.=20
The problem comes from the current impl. of semantic-required-version
which calls `concat' with integers which leads to this error. So
M-: (concat "." 1) produces the same error - tested with current
stable GNU Emacs 21.3.1!
Maybe there are other *-required-version function in the cedet-suite
with the same problem, that either the docstring is wrong or the impl.
Ciao,
Klaus
|