]> git.eshelyaron.com Git - emacs.git/commitdiff
Bind C-z to suspend-frame instead of suspend-emacs.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 20 Sep 2007 21:49:18 +0000 (21:49 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 20 Sep 2007 21:49:18 +0000 (21:49 +0000)
lisp/bindings.el

index 77c0423e157631ab02bf49736b5af10baae66835..54a322011b9a46aab785175916005bb9f1bae28c 100644 (file)
@@ -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)