branch: master commit f0050fb4e4a3af803ed9d032c5d79243cd5e2c18 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
avy.el (avy-read): Give a more precise error --- avy.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/avy.el b/avy.el index 0098b6b..ebaec20 100644 --- a/avy.el +++ b/avy.el @@ -111,7 +111,7 @@ multiple DISPLAY-FN invokations." (if (setq branch (assoc char tree)) (if (eq (car (setq tree (cdr branch))) 'leaf) (throw 'done (cdr tree))) - (user-error "No such candidate") + (signal 'user-error (list "No such candidate" char)) (throw 'done nil)))))) (provide 'avy)