fix with-restart-case for restarts with both :test and :interactive

Issue reported and fix provided by gitlab user Bicyclidine. Closes
    #450.
This commit is contained in:
Marius Gerbershagen 2019-01-19 21:18:59 +01:00
parent 0b6311b399
commit cf2fe46ddf

View file

@ -142,10 +142,11 @@
(flet ((transform-keywords (&key report interactive test)
(let ((keywords '()))
(when test
(setq keywords (list :TEST-FUNCTION `#',test)))
(setq keywords (list :TEST-FUNCTION `#',test)))
(when interactive
(setq keywords (list :INTERACTIVE-FUNCTION
`#',interactive)))
(setq keywords (list* :INTERACTIVE-FUNCTION
`#',interactive
keywords)))
(when report
(setq keywords (list* :REPORT-FUNCTION
(if (stringp report)