errno-handler for evaluation of commands
This commit is contained in:
parent
407de494d4
commit
03f482a04a
|
@ -239,7 +239,10 @@
|
||||||
(call-with-values
|
(call-with-values
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(find/init-plugin-for-result
|
(find/init-plugin-for-result
|
||||||
((command-plugin-evaluater command-plugin) command args)))
|
(with-errno-handler
|
||||||
|
((errno data)
|
||||||
|
(else data))
|
||||||
|
((command-plugin-evaluater command-plugin) command args))))
|
||||||
(lambda (result plugin)
|
(lambda (result plugin)
|
||||||
(let ((new-entry
|
(let ((new-entry
|
||||||
(make-history-entry command args
|
(make-history-entry command args
|
||||||
|
|
Loading…
Reference in New Issue