avy.el (avy-read): Give a more precise error

old-master
Oleh Krehel 11 years ago
parent 30abc92d93
commit f0050fb4e4
  1. 2
      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)

Loading…
Cancel
Save