Skip to content
  • 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