changeset 51364:b160887e424c

(iconify-or-deiconify-frame): Move to frame.el.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 31 May 2003 16:01:04 +0000
parents 2d011e9999e9
children 6621a59466ec
files lisp/term/mac-win.el
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/term/mac-win.el	Sat May 31 15:33:09 2003 +0000
+++ b/lisp/term/mac-win.el	Sat May 31 16:01:04 2003 +0000
@@ -1,6 +1,6 @@
 ;;; mac-win.el --- support for "Macintosh windows"
 
-;; Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
+;; Copyright (C) 1999, 2000, 2002, 2003  Free Software Foundation, Inc.
 
 ;; Author: Andrew Choi <akochoi@mac.com>
 
@@ -172,13 +172,6 @@
 	  '(lambda ()
 	     (defvar mac-ready-for-drag-n-drop t)))
 
-(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)))
-
 ; Define constant values to be set to mac-keyboard-text-encoding
 (defconst kTextEncodingMacRoman 0)
 (defconst kTextEncodingISOLatin1 513 "0x201")