Since your code does not define a local *error* function, it appears that you are running other LISP routines which are overriding the default *error* function and not resetting it (see here for more info).
This won't solve your problems, but will give more information about the error; type at the command-line:
Then re-run your above code.Code:(setq *error* nil)
Move your IF statements below the CmdCol function definition, since otherwise the function is not defined when you call it.
Lee




Reply With Quote

Bookmarks