Change *help-messages* to parameter
When testing in the REPL and reloading the package, using a `defvar' causes it to collect the names and help messages for commands more than once. With `defparameter' this variable is reset every time the package is loaded.
This commit is contained in:
parent
b6716954f2
commit
acc01decbe
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
||||||
(defvar *db* nil
|
(defvar *db* nil
|
||||||
"The database connection.")
|
"The database connection.")
|
||||||
|
|
||||||
(defvar *help-messages* nil
|
(defparameter *help-messages* nil
|
||||||
"Help texts for commands.")
|
"Help texts for commands.")
|
||||||
|
|
||||||
(defvar *max-command-name-length* 0
|
(defvar *max-command-name-length* 0
|
||||||
|
|
Loading…
Reference in a new issue