helpful

a fork of Wilfred's helpful
git clone https://git.trogloxene.org/helpful.git
Log | Files | Refs | README

commit f4f9cdc1bd8eb420792e0dafcf4d8edd2e68b4d3
parent 3e2f35d807a876a88ed1f43267ad1736c2c41fcc
Author: Narendra Joshi <narendraj9@gmail.com>
Date:   Sat, 30 Sep 2017 10:34:46 +0530

Add symbol information to error message

Diffstat:
Mhelpful.el | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/helpful.el b/helpful.el @@ -748,8 +748,9 @@ For example, \"(some-func FOO &optional BAR)\"." (user-error "No command is bound to %s" (key-description key-sequence))) (unless (commandp sym) - (user-error "%s is bound to symbol that is not a command" - (key-description key-sequence))) + (user-error "%s is bound to symbol - %s, that is not a command" + (key-description key-sequence) + sym)) (pop-to-buffer (helpful--buffer sym t)) (helpful-update)))