From: Stefan Monnier Date: Thu, 20 Sep 2007 21:49:18 +0000 (+0000) Subject: Bind C-z to suspend-frame instead of suspend-emacs. X-Git-Tag: emacs-pretest-23.0.90~10799 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d3615887a6bfcae39f08e79483dd25062d13e441;p=emacs.git Bind C-z to suspend-frame instead of suspend-emacs. --- 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)