Quick bugfix to add-injection.
This commit is contained in:
parent
f27172a1f7
commit
1289706b46
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||||
|
|
Loading…
Add table
Reference in a new issue