We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0b7cdc commit d8a02dfCopy full SHA for d8a02df
test/argparse.l
@@ -15,7 +15,8 @@
15
16
(defun write-tmp-file (fname send-lst)
17
`(with-open-file (test-file ,fname :direction :output :if-exists :supersede)
18
- (princ-line "(lisp::install-error-handler #'(lambda (&rest args) (exit 1)))" test-file)
+ (princ-line "(defun exit-on-error (&rest args) (exit 1))" test-file)
19
+ (princ-line "(lisp::install-error-handler 'exit-on-error)" test-file)
20
(princ-line "(require :argparse \"lib/llib/argparse.l\")" test-file)
21
(terpri test-file)
22
(princ-line "(setq argparse (instantiate argparse:argument-parser))" test-file)
0 commit comments