diff options
author | Tom Willemse | 2013-10-06 14:35:50 +0200 |
---|---|---|
committer | Tom Willemse | 2013-10-06 14:35:50 +0200 |
commit | acc01decbee8479390cef7d0693c1596afc65b02 (patch) | |
tree | e8d6429d9eb16c6c22981f144552861692c2ac79 /lisp/clark.lisp | |
parent | b6716954f2584a914691650f4f329ab4e09a6980 (diff) | |
download | clark-acc01decbee8479390cef7d0693c1596afc65b02.tar.gz clark-acc01decbee8479390cef7d0693c1596afc65b02.zip |
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.
Diffstat (limited to 'lisp/clark.lisp')
-rw-r--r-- | lisp/clark.lisp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/clark.lisp b/lisp/clark.lisp index 03c8614..d65fa87 100644 --- a/lisp/clark.lisp +++ b/lisp/clark.lisp @@ -22,7 +22,7 @@ (defvar *db* nil "The database connection.") -(defvar *help-messages* nil +(defparameter *help-messages* nil "Help texts for commands.") (defvar *max-command-name-length* 0 |