diff options
| author | Jim Blandy | 1992-07-25 00:36:12 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-07-25 00:36:12 +0000 |
| commit | 1aa660887e3bc27a43c4e327373808132b03e152 (patch) | |
| tree | 854dba0c1a141ffc74634a2902dfc64d827581d0 /src | |
| parent | d4fbc2d5fa34f5ead3b9e0d77388f20351728e85 (diff) | |
| download | emacs-1aa660887e3bc27a43c4e327373808132b03e152.tar.gz emacs-1aa660887e3bc27a43c4e327373808132b03e152.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/frame.c b/src/frame.c index 364b9b2e4ad..785f59a2593 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -697,12 +697,15 @@ DEFUN ("restore-frame-configuration", Frestore_frame_configuration, | |||
| 697 | #endif | 697 | #endif |
| 698 | 698 | ||
| 699 | DEFUN ("make-frame-visible", Fmake_frame_visible, Smake_frame_visible, | 699 | DEFUN ("make-frame-visible", Fmake_frame_visible, Smake_frame_visible, |
| 700 | 1, 1, 0, | 700 | 0, 1, 0, |
| 701 | "Make the frame FRAME visible (assuming it is an X-window).\n\ | 701 | "Make the frame FRAME visible (assuming it is an X-window).\n\ |
| 702 | Also raises the frame so that nothing obscures it.") | 702 | Also raises the frame so that nothing obscures it.") |
| 703 | (frame) | 703 | (frame) |
| 704 | Lisp_Object frame; | 704 | Lisp_Object frame; |
| 705 | { | 705 | { |
| 706 | if (NILP (frame)) | ||
| 707 | frame = selected_frame; | ||
| 708 | |||
| 706 | CHECK_LIVE_FRAME (frame, 0); | 709 | CHECK_LIVE_FRAME (frame, 0); |
| 707 | 710 | ||
| 708 | if (FRAME_IS_X (XFRAME (frame))) | 711 | if (FRAME_IS_X (XFRAME (frame))) |
| @@ -712,11 +715,14 @@ Also raises the frame so that nothing obscures it.") | |||
| 712 | } | 715 | } |
| 713 | 716 | ||
| 714 | DEFUN ("make-frame-invisible", Fmake_frame_invisible, Smake_frame_invisible, | 717 | DEFUN ("make-frame-invisible", Fmake_frame_invisible, Smake_frame_invisible, |
| 715 | 1, 1, 0, | 718 | 0, 1, "", |
| 716 | "Make the frame FRAME invisible (assuming it is an X-window).") | 719 | "Make the frame FRAME invisible (assuming it is an X-window).") |
| 717 | (frame) | 720 | (frame) |
| 718 | Lisp_Object frame; | 721 | Lisp_Object frame; |
| 719 | { | 722 | { |
| 723 | if (NILP (frame)) | ||
| 724 | frame = selected_frame; | ||
| 725 | |||
| 720 | CHECK_LIVE_FRAME (frame, 0); | 726 | CHECK_LIVE_FRAME (frame, 0); |
| 721 | 727 | ||
| 722 | if (FRAME_IS_X (XFRAME (frame))) | 728 | if (FRAME_IS_X (XFRAME (frame))) |
| @@ -726,11 +732,14 @@ DEFUN ("make-frame-invisible", Fmake_frame_invisible, Smake_frame_invisible, | |||
| 726 | } | 732 | } |
| 727 | 733 | ||
| 728 | DEFUN ("iconify-frame", Ficonify_frame, Siconify_frame, | 734 | DEFUN ("iconify-frame", Ficonify_frame, Siconify_frame, |
| 729 | 1, 1, 0, | 735 | 0, 1, "", |
| 730 | "Make the frame FRAME into an icon.") | 736 | "Make the frame FRAME into an icon.") |
| 731 | (frame) | 737 | (frame) |
| 732 | Lisp_Object frame; | 738 | Lisp_Object frame; |
| 733 | { | 739 | { |
| 740 | if (NILP (frame)) | ||
| 741 | frame = selected_frame; | ||
| 742 | |||
| 734 | CHECK_LIVE_FRAME (frame, 0); | 743 | CHECK_LIVE_FRAME (frame, 0); |
| 735 | 744 | ||
| 736 | if (FRAME_IS_X (XFRAME (frame))) | 745 | if (FRAME_IS_X (XFRAME (frame))) |