aboutsummaryrefslogtreecommitdiff
path: root/modules/keybindings.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-21 13:34:07 -0600
committerCraig Jennings <c@cjennings.net>2026-02-21 13:34:07 -0600
commitf673d3b0aae4ffb38f3ec3867e28629d1901cc8d (patch)
treed98f433d32f5dca7bff4df803e0588a047660d55 /modules/keybindings.el
parentad57a04caf53691435f57fbfac54beeeb51304bf (diff)
downloaddotemacs-f673d3b0aae4ffb38f3ec3867e28629d1901cc8d.tar.gz
dotemacs-f673d3b0aae4ffb38f3ec3867e28629d1901cc8d.zip
fix(keybindings): make C-z a prefix map instead of unsetting it
Unsetting C-z bound it to nil, which blocked font-config.el from binding C-z F. This cascaded through init and prevented alert and chime from loading.
Diffstat (limited to 'modules/keybindings.el')
-rw-r--r--modules/keybindings.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/keybindings.el b/modules/keybindings.el
index 9d5ba4540..462fde246 100644
--- a/modules/keybindings.el
+++ b/modules/keybindings.el
@@ -108,7 +108,7 @@ Errors if VAR is unbound, not a non-empty string, or the file does not exist."
;; Avoid hostile bindings
(keymap-global-unset "C-x C-f") ;; find-file-read-only
(keymap-global-set "C-x C-f" #'find-file)
-(keymap-global-unset "C-z") ;; suspend-frame is accidentally hit often
+(keymap-global-set "C-z" (make-sparse-keymap)) ;; replace suspend-frame with prefix map
(keymap-global-unset "M-o") ;; facemenu-mode
;; Add commonly-used general keybindings