branch: elpa/emacsql commit ee2877dab0097bde20e7592193cb654aa7f56c5c Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@nullprogram.com>
Clearer error message from escape identifier. --- emacsql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacsql.el b/emacsql.el index 1f5f8518f6..8c14f9f392 100644 --- a/emacsql.el +++ b/emacsql.el @@ -224,7 +224,7 @@ CONN-SPEC is a connection specification like the call to (forbidden "[]-\000-\040!\"#%&'()*+,./;<=>?@[\\^`{|}~\177]")) (when (or (string-match-p forbidden string) (string-match-p "^[0-9$]" string)) - (error "Invalid Emacsql identifier.")) + (error "Invalid Emacsql identifier: %S" identifier)) (if (string-match-p ":" string) (replace-regexp-in-string ":" "." string) string)))