From d3615887a6bfcae39f08e79483dd25062d13e441 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 20 Sep 2007 21:49:18 +0000 Subject: [PATCH] Bind C-z to suspend-frame instead of suspend-emacs. --- lisp/bindings.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/bindings.el b/lisp/bindings.el index 77c0423e157..54a322011b9 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -657,6 +657,10 @@ language you are using." (define-key global-map "\e\e\e" 'keyboard-escape-quit) (define-key global-map "\C-g" 'keyboard-quit) +;; Used to be in termdev.el: when using several terminals, make C-z +;; suspend only the relevant terminal. +(substitute-key-definition 'suspend-emacs 'suspend-frame global-map) + (define-key global-map "\C-j" 'newline-and-indent) (define-key global-map "\C-m" 'newline) (define-key global-map "\C-o" 'open-line) -- 2.39.5