[Gbbopen-list] Question about ADD-EVENT-FUNCTION

Chun Tian (binghe) binghe.lisp at gmail.com
Wed Apr 16 12:46:14 EDT 2008


Hi, GBBopen

Should ADD-EVENT-FUNCTION be put into a EVAL-WHEN block? Like this:

(eval-when (:load-toplevel :execute)
   (add-event-function 'initializations 'start-control-shell-event
		      ;; Initializations should be done first!
		      :priority 100))

Since ADD-EVENT-FUNCTION is a function but not macro, I think it may  
be useless to eval on compile-time.

Am I right?

Chun Tian (binghe)


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Gbbopen-list mailing list