summaryrefslogtreecommitdiff
path: root/modules
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
commit7fe268c8cfe1017fd24a02e3eae29632b1fdeb26 (patch)
treec404b81a4230810bbe8e0550e4d5bb67f257dd92 /modules
parenteafdf18496eb00111d3e502ef967b2cf86295d3b (diff)
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')
-rw-r--r--modules/keybindings.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/keybindings.el b/modules/keybindings.el
index 9d5ba454..462fde24 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