Progn+redef
Execute some events but with redefinition enabled.
Examples (all equivalent):
(progn+redef
(defun foo ...)
(defun bar ...))
(progn+redef :action t
...)
(progn+redef :action (:doit! . :overwrite)
...)
This is like progn except that it sets the ld-redefinition-action as (optionally) specified for the given events. An
:action of t is a shortcut for (:doit! . :overwrite). make-event is used to save and restore the old value of ld-redefinition-action.
An active ttag is required to use this form (See defttag).
Note that the syntax for this macro is not quite like traditional
keyword arguments, which would come at the end of the argument list.