aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
authorEric S. Raymond <[email protected]>1993-04-26 05:15:01 +0000
committerEric S. Raymond <[email protected]>1993-04-26 05:15:01 +0000
commit10d96c7d2cd742415c5324172df0644c1e739b67 (patch)
tree21cee5070b4479d31f5a80a084e17373cf10936f /lisp/term
parenta91b2e223a652004468aabfd7741467894d3e587 (diff)
(global-map): Dyke out the last two event-to-function bindings. These belong
in loaddefs.el or the user's .emacs, not in a terminal support package. Also do the right thing and transplant all suspend-emacs bindings to iconify-frame, rather than just C-z.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/x-win.el8
1 files changed, 1 insertions, 7 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index a531f159b2..66aeef9de0 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -425,13 +425,7 @@ This returns ARGS with the arguments that have been processed removed."
;;;; Function keys
-;; We use a different symbol to prevent
-;; doc strings from listing M-next as the preferred way to do this.
-(fset 'advertised-scroll-other-window 'scroll-other-window)
-(define-key global-map [M-next] 'scroll-other-window)
-(define-key global-map [begin] 'beginning-of-buffer)
-
-(define-key global-map "\C-z" 'iconify-frame)
+(substitute-key-definition 'suspend-emacs 'iconify-frame global-map)
;; Map certain keypad keys into ASCII characters
;; that people usually expect.