errno-handler for evaluation of commands
This commit is contained in:
parent
407de494d4
commit
03f482a04a
|
@ -239,7 +239,10 @@
|
|||
(call-with-values
|
||||
(lambda ()
|
||||
(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)
|
||||
(let ((new-entry
|
||||
(make-history-entry command args
|
||||
|
|
Loading…
Reference in New Issue