• Philipp Marek's avatar
    DEF-RENDER-HOOK: Store symbols on *RENDER-HOOK*. · 94d072a9
    Philipp Marek authored
    PUSHing the functions themselves means that the hooks get installed
    every time the DEF-RENDER-HOOK forms get evaluated, even if they
    already exist.
    Using PUSHNEW and the symbols avoid that.
    
    To reproduce, just
      (load "build.lisp")
      touch cl-site.asd # force asdf to reload the system
      (load "build.lisp")
    and the output will show multiple identical lines - once
    for each time the system got loaded.
      Transforming libraries.md to libraries.html
      Transforming libraries.md to libraries.html
      Transforming libraries.md to libraries.html
    94d072a9
Name
Last commit
Last update
content Loading commit data...
layout Loading commit data...
servers Loading commit data...
t Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
build.lisp Loading commit data...
cl-site.asd Loading commit data...
globals.lisp Loading commit data...
helpers.lisp Loading commit data...
main.lisp Loading commit data...
package.lisp Loading commit data...
patches.lisp Loading commit data...
process.lisp Loading commit data...
test-serve.lisp Loading commit data...