From fc8e1f0b8e1314298e4ce3f711c05c7ecbb577d0 Mon Sep 17 00:00:00 2001 From: Lucas Sta Maria Date: Mon, 29 Jan 2024 12:55:21 -0500 Subject: [PATCH] fix(emacs): use `keymap-global-unset` instead of `global-unset-key` Signed-off-by: Lucas Sta Maria --- .emacs.d/include/general.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.emacs.d/include/general.el b/.emacs.d/include/general.el index bb094ff..7c5d717 100644 --- a/.emacs.d/include/general.el +++ b/.emacs.d/include/general.el @@ -134,8 +134,8 @@ (fset 'yes-or-no-p 'y-or-n-p) ;; Disable suspend state -(global-unset-key (kbd "C-z")) -(global-unset-key (kbd "C-x C-z")) +(keymap-global-unset "C-z") +(keymap-global-unset "C-x C-z") ;; emacs-nativecomp (setq native-comp-async-report-warnings-errors nil)