aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
authorStefan Monnier2003-05-31 16:03:11 +0000
committerStefan Monnier2003-05-31 16:03:11 +0000
commita52eeda8236cd73ca2e4568daa77ec7457a4fc36 (patch)
treed6dcf301c002be4a83c7f339d225e01e1b9cda03 /lisp/term
parent407e43be4464632703b93b7eba3b7595c09c3e12 (diff)
downloademacs-a52eeda8236cd73ca2e4568daa77ec7457a4fc36.tar.gz
emacs-a52eeda8236cd73ca2e4568daa77ec7457a4fc36.zip
(iconify-or-deiconify-frame): Move to frame.el.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/mac-win.el9
1 files changed, 1 insertions, 8 deletions
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index ecc7db8d7a2..c3777410a40 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -1,6 +1,6 @@
1;;; mac-win.el --- support for "Macintosh windows" 1;;; mac-win.el --- support for "Macintosh windows"
2 2
3;; Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. 3;; Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
4 4
5;; Author: Andrew Choi <akochoi@mac.com> 5;; Author: Andrew Choi <akochoi@mac.com>
6 6
@@ -172,13 +172,6 @@ Switch to a buffer editing the last file dropped."
172 '(lambda () 172 '(lambda ()
173 (defvar mac-ready-for-drag-n-drop t))) 173 (defvar mac-ready-for-drag-n-drop t)))
174 174
175(defun iconify-or-deiconify-frame ()
176 "Iconify the selected frame, or deiconify if it's currently an icon."
177 (interactive)
178 (if (eq (cdr (assq 'visibility (frame-parameters))) t)
179 (iconify-frame)
180 (make-frame-visible)))
181
182; Define constant values to be set to mac-keyboard-text-encoding 175; Define constant values to be set to mac-keyboard-text-encoding
183(defconst kTextEncodingMacRoman 0) 176(defconst kTextEncodingMacRoman 0)
184(defconst kTextEncodingISOLatin1 513 "0x201") 177(defconst kTextEncodingISOLatin1 513 "0x201")