changeset 84698:e6e2af0f00c5

Bind C-z to suspend-frame instead of suspend-emacs.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 20 Sep 2007 21:49:18 +0000
parents efbb243fc83d
children e3787b1a7e84
files lisp/bindings.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)