summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/callproc.c2
-rw-r--r--src/dispnew.c3
-rw-r--r--src/frame.c13
-rw-r--r--src/term.c2
-rw-r--r--src/widget.c2
-rw-r--r--src/xmenu.c4
6 files changed, 18 insertions, 8 deletions
diff --git a/src/callproc.c b/src/callproc.c
index 14e34454f71..4f66b5afc4a 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -20,9 +20,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <signal.h>
#include <errno.h>
-#include <stdio.h>
#include <config.h>
+#include <stdio.h>
extern int errno;
extern char *strerror ();
diff --git a/src/dispnew.c b/src/dispnew.c
index 81470fba4ad..62bd1d0e6d7 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -19,9 +19,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <signal.h>
-#include <stdio.h>
#include <config.h>
+
+#include <stdio.h>
#include <ctype.h>
#include "lisp.h"
diff --git a/src/frame.c b/src/frame.c
index f843345d936..5face5086a9 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -17,9 +17,9 @@ You should have received a copy of the GNU General Public License
along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-#include <stdio.h>
-
#include <config.h>
+
+#include <stdio.h>
#include "lisp.h"
#include "frame.h"
#include "termhooks.h"
@@ -1055,6 +1055,9 @@ If omitted, FRAME defaults to the currently selected frame.")
}
#endif
+ /* Make menu bar update for the Buffers and Frams menus. */
+ windows_or_buffers_changed++;
+
return frame;
}
@@ -1093,6 +1096,9 @@ but if the second optional argument FORCE is non-nil, you may do so.")
x_make_frame_invisible (XFRAME (frame));
#endif
+ /* Make menu bar update for the Buffers and Frams menus. */
+ windows_or_buffers_changed++;
+
return Qnil;
}
@@ -1126,6 +1132,9 @@ If omitted, FRAME defaults to the currently selected frame.")
x_iconify_frame (XFRAME (frame));
#endif
+ /* Make menu bar update for the Buffers and Frams menus. */
+ windows_or_buffers_changed++;
+
return Qnil;
}
diff --git a/src/term.c b/src/term.c
index 6001e9b82d0..6922498983c 100644
--- a/src/term.c
+++ b/src/term.c
@@ -18,9 +18,9 @@ along with GNU Emacs; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include <config.h>
#include <stdio.h>
#include <ctype.h>
-#include <config.h>
#include "termchar.h"
#include "termopts.h"
#include "cm.h"
diff --git a/src/widget.c b/src/widget.c
index 194d23933ab..2bc5256f311 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -19,8 +19,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Emacs 19 face widget ported by Fred Pierresteguy */
-#include <stdio.h>
#include <config.h>
+#include <stdio.h>
#include "lisp.h"
#include "xterm.h"
diff --git a/src/xmenu.c b/src/xmenu.c
index da2ca544931..ca740d2ca13 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -29,11 +29,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Rewritten for clarity and GC protection by rms in Feb 94. */
-#include <stdio.h>
-
/* On 4.3 this loses if it comes after xterm.h. */
#include <signal.h>
#include <config.h>
+
+#include <stdio.h>
#include "lisp.h"
#include "termhooks.h"
#include "frame.h"