Quick bugfix to add-injection.

This commit is contained in:
Brit Butler 2014-09-23 17:32:48 -04:00
parent f27172a1f7
commit 1289706b46

View file

@ -6,7 +6,7 @@
(defun add-injection (injection location) (defun add-injection (injection location)
"Adds an INJECTION to a given LOCATION for rendering. The INJECTION should be a "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." 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) (defun find-injections (content)
"Iterate over *INJECTIONS* collecting any that should be added to CONTENT." "Iterate over *INJECTIONS* collecting any that should be added to CONTENT."