aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-10-06 14:35:50 +0200
committerGravatar Tom Willemse2013-10-06 14:35:50 +0200
commitacc01decbee8479390cef7d0693c1596afc65b02 (patch)
treee8d6429d9eb16c6c22981f144552861692c2ac79 /lisp
parentb6716954f2584a914691650f4f329ab4e09a6980 (diff)
downloadclark-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')
-rw-r--r--lisp/clark.lisp2
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