From 1289706b4646e84160e15d9c50e2aabb73ff12b4 Mon Sep 17 00:00:00 2001 From: Brit Butler Date: Tue, 23 Sep 2014 17:32:48 -0400 Subject: [PATCH] Quick bugfix to add-injection. --- src/themes.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/themes.lisp b/src/themes.lisp index fded3ee..dce2138 100644 --- a/src/themes.lisp +++ b/src/themes.lisp @@ -6,7 +6,7 @@ (defun add-injection (injection location) "Adds an INJECTION to a given LOCATION for rendering. The INJECTION should be a function that takes a DOCUMENT and returns NIL or a STRING for template insertion." - (push result (getf *injections* location))) + (push injection (getf *injections* location))) (defun find-injections (content) "Iterate over *INJECTIONS* collecting any that should be added to CONTENT."