Fix non-prefix key error on MacOS

kbd is necessary for global-set-key, otherwise it reads M-` as three
keys M, - and `, and M is already bound to self-insert-command, so it
cannot be used as a prefix.
This commit is contained in:
Henrik Lissner 2018-12-22 14:23:11 -05:00
parent 43fa39eaf1
commit 4a69fb5d29
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -775,7 +775,7 @@
;; Fix MacOS shift+tab
(define-key input-decode-map [S-iso-lefttab] [backtab])
;; Fix frame-switching on MacOS
(global-set-key "M-`" #'other-frame))
(global-set-key (kbd "M-`") #'other-frame))
(defun +default|setup-input-decode-map ()
(define-key input-decode-map (kbd "TAB") [tab]))