aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorKarl Heuer1994-03-02 05:29:01 +0000
committerKarl Heuer1994-03-02 05:29:01 +0000
commit19479ae2d64859f67f84c245b1b98b4b2e1b43ee (patch)
tree5633c8e38eb6bc81cef72f9175ed293345b5acd5 /lisp
parent33633b281055c37a7d409470bddd48261ba7e8da (diff)
downloademacs-19479ae2d64859f67f84c245b1b98b4b2e1b43ee.tar.gz
emacs-19479ae2d64859f67f84c245b1b98b4b2e1b43ee.zip
(iconify-or-deiconify-frame): Don't make invisible before making visible.
Diffstat (limited to 'lisp')
-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."
464 (interactive) 464 (interactive)
465 (if (eq (cdr (assq 'visibility (frame-parameters))) t) 465 (if (eq (cdr (assq 'visibility (frame-parameters))) t)
466 (iconify-frame) 466 (iconify-frame)
467 (let ((foo (selected-frame))) 467 (make-frame-visible)))
468 (make-frame-invisible foo t)
469 (make-frame-visible foo))))
470 468
471(substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame 469(substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame
472 global-map) 470 global-map)