[emacs] unbind C-z in graphical mode
authorAmin Bandali <bandali@gnu.org>
Fri, 22 Feb 2019 18:42:05 +0000 (13:42 -0500)
committerAmin Bandali <bandali@gnu.org>
Fri, 22 Feb 2019 18:42:05 +0000 (13:42 -0500)
froze my emacs by accident too many damn times

init.org

index d603f43..6f9789f 100644 (file)
--- a/init.org
+++ b/init.org
@@ -805,6 +805,9 @@ Some bindings for functions from built-in GNU Emacs packages:
 
  ("s-p"     . beginning-of-buffer)
  ("s-n"     . end-of-buffer))
+
+(when (display-graphic-p)
+  (unbind-key "C-z" global-map))
 #+end_src
 
 While at it, let's bind a few for some =straight-*= functions too: