branch: externals/tempel
commit 4e89e3596bc7d5d4a5029b8c3bfa70311b9a81aa
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Use key-parse
---
 tempel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tempel.el b/tempel.el
index 718cffe5a6..f857557742 100644
--- a/tempel.el
+++ b/tempel.el
@@ -700,7 +700,7 @@ If called interactively, select a template with 
`completing-read'."
 ;;;###autoload
 (defmacro tempel-key (key template-or-name &optional map)
   "Bind KEY to TEMPLATE-OR-NAME in MAP."
-  `(define-key ,(or map 'global-map) ,(kbd key)
+  `(define-key ,(or map 'global-map) ,(key-parse key)
      ,(if (consp template-or-name)
           `(lambda ()
              (interactive)

Reply via email to