aboutsummaryrefslogtreecommitdiff
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
commit218d2923ec0072f71a818247f34f57311c552035 (patch)
treea01c0a6aea409ec457869bc6aa6c9f6c7abfbca2 /modules
parente137ddd88cdab61be727c9aa6dc00b2aa2757ba0 (diff)
downloaddotemacs-218d2923ec0072f71a818247f34f57311c552035.tar.gz
dotemacs-218d2923ec0072f71a818247f34f57311c552035.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')
-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