Mercurial > emacs
changeset 51183:c9db5a2dc58b
(iconify-or-deiconify-frame): Move to frame.el.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 24 May 2003 16:22:20 +0000 |
parents | 3dd4104b45b6 |
children | ce4fe46f9b13 |
files | lisp/term/w32-win.el |
diffstat | 1 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/term/w32-win.el Sat May 24 16:16:34 2003 +0000 +++ b/lisp/term/w32-win.el Sat May 24 16:22:20 2003 +0000 @@ -1,6 +1,6 @@ ;;; w32-win.el --- parse switches controlling interface with W32 window system -;; Copyright (C) 1993, 1994 Free Software Foundation, Inc. +;; Copyright (C) 1993, 1994, 2003 Free Software Foundation, Inc. ;; Author: Kevin Gallo ;; Keywords: terminals @@ -1066,13 +1066,6 @@ (global-set-key [f10] (lambda () (interactive) (w32-send-sys-command ?\xf100))) -(defun iconify-or-deiconify-frame () - "Iconify the selected frame, or deiconify if it's currently an icon." - (interactive) - (if (eq (cdr (assq 'visibility (frame-parameters))) t) - (iconify-frame) - (make-frame-visible))) - (substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame global-map)