install deprecation definition-observer as an init-hook

db4
Joe Groff 2009-08-20 16:18:06 -05:00
parent 6089251574
commit 94c50cfaeb
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
! (c)2009 Joe Groff bsd license
USING: accessors arrays assocs compiler.units
debugger io kernel namespaces prettyprint sequences
debugger init io kernel namespaces prettyprint sequences
source-files.errors summary tools.crossref
tools.crossref.private tools.errors words ;
IN: tools.deprecation
@ -67,6 +67,7 @@ M: deprecation-observer definitions-changed
[ [ check-deprecations ] each ]
[ drop initialize-deprecation-notes ] if ;
\ deprecation-observer add-definition-observer
[ \ deprecation-observer add-definition-observer ]
"tools.deprecation" add-init-hook
initialize-deprecation-notes