Display actual character that triggered an error

Fixes #227
master
Bob Weiner 8 years ago committed by Oleh Krehel
parent d4aa876154
commit 869261ae81
  1. 3
      avy.el

@ -427,7 +427,8 @@ KEYS is the path from the root of `avy-tree' to LEAF."
((mouse-event-p char)
(signal 'user-error (list "Mouse event not handled" char)))
(t
(signal 'user-error (list "No such candidate" char))
(signal 'user-error (list "No such candidate"
(if (characterp char) (string char) char)))
(throw 'done nil)))))
(defvar avy-handler-function 'avy-handler-default

Loading…
Cancel
Save