aboutsummaryrefslogtreecommitdiff
path: root/editors/emacs/bqn-input.el
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs/bqn-input.el')
-rw-r--r--editors/emacs/bqn-input.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/emacs/bqn-input.el b/editors/emacs/bqn-input.el
index db462c97..30af1ff3 100644
--- a/editors/emacs/bqn-input.el
+++ b/editors/emacs/bqn-input.el
@@ -24,8 +24,8 @@
(defun bqn--make-base-mode-map (prefix)
(let ((map (make-sparse-keymap)))
(dolist (command bqn--symbols)
- (let ((key (caddr command)))
- (define-key map (bqn--kbd (concat prefix s)) (bqn--make-key-command-sym (car command)))))
+ (let ((key (single-key-description (string-to-char (caddr command)))))
+ (define-key map (bqn--kbd (concat prefix key)) (bqn--make-key-command-sym (car command)))))
(define-key map [menu-bar bqn] (cons "BQN" (make-sparse-keymap "BQN")))
map))