aboutsummaryrefslogtreecommitdiff
path: root/lib/state.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/state.lisp')
-rw-r--r--lib/state.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/state.lisp b/lib/state.lisp
index 8ab6c51..9c25ab6 100644
--- a/lib/state.lisp
+++ b/lib/state.lisp
@@ -90,7 +90,7 @@
(defun drop-draft (name)
"Drop a draft by NAME from the *DFRAFTS* association list."
- (setf *DRAFTS* (delete (assoc name *DRAFTS*) *DRAFTS*)))
+ (setf *DRAFTS* (delete (assoc name *DRAFTS* :test #'string-equal) *DRAFTS*)))
(defun put-draft (name draft)
"Modifies *DRAFTS*, adding a new DRAFT associated with NAME. If NAME