Mercurial > emacs
comparison src/frame.c @ 7900:60795e826dad
Put stdio.h after config.h.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 15 Jun 1994 03:54:06 +0000 |
parents | de2c4334fad4 |
children | e9bc1c7ef17f |
comparison
equal
deleted
inserted
replaced
7899:facf6b0e97ff | 7900:60795e826dad |
---|---|
15 | 15 |
16 You should have received a copy of the GNU General Public License | 16 You should have received a copy of the GNU General Public License |
17 along with GNU Emacs; see the file COPYING. If not, write to | 17 along with GNU Emacs; see the file COPYING. If not, write to |
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | 18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
19 | 19 |
20 #include <config.h> | |
21 | |
20 #include <stdio.h> | 22 #include <stdio.h> |
21 | |
22 #include <config.h> | |
23 #include "lisp.h" | 23 #include "lisp.h" |
24 #include "frame.h" | 24 #include "frame.h" |
25 #include "termhooks.h" | 25 #include "termhooks.h" |
26 #include "window.h" | 26 #include "window.h" |
27 | 27 |
1053 FRAME_SAMPLE_VISIBILITY (XFRAME (frame)); | 1053 FRAME_SAMPLE_VISIBILITY (XFRAME (frame)); |
1054 x_make_frame_visible (XFRAME (frame)); | 1054 x_make_frame_visible (XFRAME (frame)); |
1055 } | 1055 } |
1056 #endif | 1056 #endif |
1057 | 1057 |
1058 /* Make menu bar update for the Buffers and Frams menus. */ | |
1059 windows_or_buffers_changed++; | |
1060 | |
1058 return frame; | 1061 return frame; |
1059 } | 1062 } |
1060 | 1063 |
1061 DEFUN ("make-frame-invisible", Fmake_frame_invisible, Smake_frame_invisible, | 1064 DEFUN ("make-frame-invisible", Fmake_frame_invisible, Smake_frame_invisible, |
1062 0, 2, "", | 1065 0, 2, "", |
1091 #ifdef HAVE_X_WINDOWS | 1094 #ifdef HAVE_X_WINDOWS |
1092 if (FRAME_X_P (XFRAME (frame))) | 1095 if (FRAME_X_P (XFRAME (frame))) |
1093 x_make_frame_invisible (XFRAME (frame)); | 1096 x_make_frame_invisible (XFRAME (frame)); |
1094 #endif | 1097 #endif |
1095 | 1098 |
1099 /* Make menu bar update for the Buffers and Frams menus. */ | |
1100 windows_or_buffers_changed++; | |
1101 | |
1096 return Qnil; | 1102 return Qnil; |
1097 } | 1103 } |
1098 | 1104 |
1099 DEFUN ("iconify-frame", Ficonify_frame, Siconify_frame, | 1105 DEFUN ("iconify-frame", Ficonify_frame, Siconify_frame, |
1100 0, 1, "", | 1106 0, 1, "", |
1123 /* I think this should be done with a hook. */ | 1129 /* I think this should be done with a hook. */ |
1124 #ifdef HAVE_X_WINDOWS | 1130 #ifdef HAVE_X_WINDOWS |
1125 if (FRAME_X_P (XFRAME (frame))) | 1131 if (FRAME_X_P (XFRAME (frame))) |
1126 x_iconify_frame (XFRAME (frame)); | 1132 x_iconify_frame (XFRAME (frame)); |
1127 #endif | 1133 #endif |
1134 | |
1135 /* Make menu bar update for the Buffers and Frams menus. */ | |
1136 windows_or_buffers_changed++; | |
1128 | 1137 |
1129 return Qnil; | 1138 return Qnil; |
1130 } | 1139 } |
1131 | 1140 |
1132 DEFUN ("frame-visible-p", Fframe_visible_p, Sframe_visible_p, | 1141 DEFUN ("frame-visible-p", Fframe_visible_p, Sframe_visible_p, |