branch: elpa/bind-map commit b30c22f7f96b1995a70d0a293ae60c706ac028ff Author: justbur <jus...@burkett.cc> Commit: justbur <jus...@burkett.cc>
Report symbol name in previously added error msg --- bind-map.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind-map.el b/bind-map.el index 7fbce67721..6168cc5465 100644 --- a/bind-map.el +++ b/bind-map.el @@ -147,7 +147,7 @@ Declare a prefix command for MAP named COMMAND-NAME." `(progn (defvar ,map (make-sparse-keymap)) (unless (keymapp ,map) - (error "bind-map: %s is not a keymap" ,map)) + (error "bind-map: %s is not a keymap" ',map)) (setq ,prefix-cmd ,map) (setf (symbol-function ',prefix-cmd) ,map)