Commit 8a96eef3 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(iconify-or-deiconify-frame): Make it work.

parent 2d7bfcc3
......@@ -464,7 +464,9 @@ This returns ARGS with the arguments that have been processed removed."
(interactive)
(if (eq (cdr (assq 'visibility (frame-parameters))) t)
(iconify-frame)
(make-frame-visible)))
(let ((foo (selected-frame)))
(make-frame-invisible foo)
(make-frame-visible foo))))
(substitute-key-definition 'suspend-emacs 'iconify-or-deiconify-frame
global-map)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment