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:
parent
43fa39eaf1
commit
4a69fb5d29
1 changed files with 1 additions and 1 deletions
|
@ -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]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue