Mercurial > emacs
diff lisp/bindings.el @ 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 | 5b644ae74c91 |
children | 628c4c3a906d |
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)