# HG changeset patch # User Stefan Monnier # Date 1190324958 0 # Node ID e6e2af0f00c52a86a233f189fd216e40d4d50131 # Parent efbb243fc83d66e3d730aac03c7b979b75bd1178 Bind C-z to suspend-frame instead of suspend-emacs. diff -r efbb243fc83d -r e6e2af0f00c5 lisp/bindings.el --- a/lisp/bindings.el Thu Sep 20 21:44:06 2007 +0000 +++ b/lisp/bindings.el Thu Sep 20 21:49:18 2007 +0000 @@ -657,6 +657,10 @@ (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)