summaryrefslogtreecommitdiff
path: root/lisp/term/x-win.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-03-02 05:29:01 +0000
committerKarl Heuer <kwzh@gnu.org>1994-03-02 05:29:01 +0000
commit19479ae2d64859f67f84c245b1b98b4b2e1b43ee (patch)
tree5633c8e38eb6bc81cef72f9175ed293345b5acd5 /lisp/term/x-win.el
parent33633b281055c37a7d409470bddd48261ba7e8da (diff)
downloademacs-19479ae2d64859f67f84c245b1b98b4b2e1b43ee.tar.gz
(iconify-or-deiconify-frame): Don't make invisible before making visible.
Diffstat (limited to 'lisp/term/x-win.el')
-rw-r--r--lisp/term/x-win.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 1c285de25f8..1c1b8926822 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -464,9 +464,7 @@ This returns ARGS with the arguments that have been processed removed."
(interactive)
(if (eq (cdr (assq 'visibility (frame-parameters))) t)
(iconify-frame)
- (let ((foo (selected-frame)))
- (make-frame-invisible foo t)
- (make-frame-visible foo))))
+ (make-frame-visible)))
(substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame
global-map)