Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • C cl-site
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • clo
  • cl-site
  • Merge requests
  • !80

DEF-RENDER-HOOK: Store symbols on *RENDER-HOOK*.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Philipp Marek requested to merge only-transform-once into master Nov 09, 2018
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

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

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: only-transform-once