diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-08 11:56:30 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-08 11:56:30 +0100 |
commit | 0935e89110296b884d06141b5b4386122f18403e (patch) | |
tree | 61678f917a350a9f9fbffae57d14ea6f60f0e069 /elisp/geiser-eval.el | |
parent | 377d6d19debce5572052727323931f1b8306226b (diff) | |
download | geiser-guile-0935e89110296b884d06141b5b4386122f18403e.tar.gz geiser-guile-0935e89110296b884d06141b5b4386122f18403e.tar.bz2 |
Better error presentation.
Diffstat (limited to 'elisp/geiser-eval.el')
-rw-r--r-- | elisp/geiser-eval.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/elisp/geiser-eval.el b/elisp/geiser-eval.el index 74c9b29..8466a36 100644 --- a/elisp/geiser-eval.el +++ b/elisp/geiser-eval.el @@ -104,8 +104,13 @@ (defsubst geiser-eval--retort-p (ret) (and (listp ret) (or (assoc 'error ret) (assoc 'result ret)))) -(defsubst geiser-eval--retort-error (ret) (cdr (assoc 'error ret))) (defsubst geiser-eval--retort-result (ret) (cdr (assoc 'result ret))) +(defsubst geiser-eval--retort-error (ret) (cdr (assoc 'error ret))) + +(defsubst geiser-eval--error-key (err) (cdr (assoc 'key err))) +(defsubst geiser-eval--error-subr (err) (cdr (assoc 'subr err))) +(defsubst geiser-eval--error-msg (err) (cdr (assoc 'msg err))) +(defsubst geiser-eval--error-rest (err) (cdr (assoc 'rest err))) (provide 'geiser-eval) |