Browse Source

Quick bugfix to add-injection.

Brit Butler 10 years ago
parent
commit
1289706b46
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/themes.lisp

+ 1 - 1
src/themes.lisp

6
 (defun add-injection (injection location)
6
 (defun add-injection (injection location)
7
   "Adds an INJECTION to a given LOCATION for rendering. The INJECTION should be a
7
   "Adds an INJECTION to a given LOCATION for rendering. The INJECTION should be a
8
 function that takes a DOCUMENT and returns NIL or a STRING for template insertion."
8
 function that takes a DOCUMENT and returns NIL or a STRING for template insertion."
9
-  (push result (getf *injections* location)))
9
+  (push injection (getf *injections* location)))
10
 
10
 
11
 (defun find-injections (content)
11
 (defun find-injections (content)
12
   "Iterate over *INJECTIONS* collecting any that should be added to CONTENT."
12
   "Iterate over *INJECTIONS* collecting any that should be added to CONTENT."