diff options
| author | Richard M. Stallman | 1993-11-22 03:08:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-11-22 03:08:40 +0000 |
| commit | 02ff9dd5749cdd38db2fc0e69eac22302b0242ff (patch) | |
| tree | 61fec75360b58655c442daf9ba83cf721146976b /src/frame.c | |
| parent | 593232e32c8e93a2fa7ab978d3dbf3eb3fef8023 (diff) | |
| download | emacs-02ff9dd5749cdd38db2fc0e69eac22302b0242ff.tar.gz emacs-02ff9dd5749cdd38db2fc0e69eac22302b0242ff.zip | |
(Fmake_frame_visible): Use FRAME_SAMPLE_VISIBILITY. Doc fix.
Diffstat (limited to 'src/frame.c')
| -rw-r--r-- | src/frame.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/frame.c b/src/frame.c index d63a4726047..9e93d9c1cca 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -837,7 +837,6 @@ WARNING: If you use this under X, you should do `unfocus-frame' afterwards.") | |||
| 837 | DEFUN ("make-frame-visible", Fmake_frame_visible, Smake_frame_visible, | 837 | DEFUN ("make-frame-visible", Fmake_frame_visible, Smake_frame_visible, |
| 838 | 0, 1, "", | 838 | 0, 1, "", |
| 839 | "Make the frame FRAME visible (assuming it is an X-window).\n\ | 839 | "Make the frame FRAME visible (assuming it is an X-window).\n\ |
| 840 | Also raises the frame so that nothing obscures it.\n\ | ||
| 841 | If omitted, FRAME defaults to the currently selected frame.") | 840 | If omitted, FRAME defaults to the currently selected frame.") |
| 842 | (frame) | 841 | (frame) |
| 843 | Lisp_Object frame; | 842 | Lisp_Object frame; |
| @@ -850,7 +849,10 @@ If omitted, FRAME defaults to the currently selected frame.") | |||
| 850 | /* I think this should be done with a hook. */ | 849 | /* I think this should be done with a hook. */ |
| 851 | #ifdef HAVE_X_WINDOWS | 850 | #ifdef HAVE_X_WINDOWS |
| 852 | if (FRAME_X_P (XFRAME (frame))) | 851 | if (FRAME_X_P (XFRAME (frame))) |
| 853 | x_make_frame_visible (XFRAME (frame)); | 852 | { |
| 853 | FRAME_SAMPLE_VISIBILITY (XFRAME (frame)); | ||
| 854 | x_make_frame_visible (XFRAME (frame)); | ||
| 855 | } | ||
| 854 | #endif | 856 | #endif |
| 855 | 857 | ||
| 856 | return frame; | 858 | return frame; |