diff options
| author | Stefan Monnier | 2003-05-24 16:22:20 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-05-24 16:22:20 +0000 |
| commit | 25d887f06f28098a46c14e849c92ff156ff4e1d4 (patch) | |
| tree | 9deb7b5de1a227c63f09114c397a498c5044668b /lisp/term | |
| parent | 2a89019f012bdb0995c1d6fb5b1d103737c3167b (diff) | |
| download | emacs-25d887f06f28098a46c14e849c92ff156ff4e1d4.tar.gz emacs-25d887f06f28098a46c14e849c92ff156ff4e1d4.zip | |
(iconify-or-deiconify-frame): Move to frame.el.
Diffstat (limited to 'lisp/term')
| -rw-r--r-- | lisp/term/w32-win.el | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index 565f9a6b5b5..923f3f5ea14 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; w32-win.el --- parse switches controlling interface with W32 window system | 1 | ;;; w32-win.el --- parse switches controlling interface with W32 window system |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993, 1994 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993, 1994, 2003 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Kevin Gallo | 5 | ;; Author: Kevin Gallo |
| 6 | ;; Keywords: terminals | 6 | ;; Keywords: terminals |
| @@ -1066,13 +1066,6 @@ XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp") | |||
| 1066 | (global-set-key [f10] (lambda () | 1066 | (global-set-key [f10] (lambda () |
| 1067 | (interactive) (w32-send-sys-command ?\xf100))) | 1067 | (interactive) (w32-send-sys-command ?\xf100))) |
| 1068 | 1068 | ||
| 1069 | (defun iconify-or-deiconify-frame () | ||
| 1070 | "Iconify the selected frame, or deiconify if it's currently an icon." | ||
| 1071 | (interactive) | ||
| 1072 | (if (eq (cdr (assq 'visibility (frame-parameters))) t) | ||
| 1073 | (iconify-frame) | ||
| 1074 | (make-frame-visible))) | ||
| 1075 | |||
| 1076 | (substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame | 1069 | (substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame |
| 1077 | global-map) | 1070 | global-map) |
| 1078 | 1071 | ||