emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 869261a 064/110: Display actual character that triggered a


From: Oleh Krehel
Subject: [elpa] master 869261a 064/110: Display actual character that triggered an error
Date: Sat, 11 May 2019 10:15:45 -0400 (EDT)

branch: master
commit 869261ae812723c0c6549202734a4135c3474ec1
Author: Bob Weiner <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Display actual character that triggered an error
    
    Fixes #227
---
 avy.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/avy.el b/avy.el
index 1eef9c5..8d61c79 100644
--- a/avy.el
+++ b/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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]