-2015-04-01 Nicolas Petton <nicolas@petton.fr>
+ 2015-03-29 Eli Zaretskii <eliz@gnu.org>
+
+ * build-aux/dir_top (File): Fix the description of selecting a
+ menu item by its number. (Bug#20213)
+
+2015-03-29 Paul Eggert <eggert@cs.ucla.edu>
- * Version 24.5 released.
+ Fix 'commit-msg' to cite 'CONTRIBUTE'
+ As suggested in:
+ http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00947.html
+ Also, have the two files match better.
+ * CONTRIBUTE: Match what's in build-aux/git-hooks/commit-msg.
+ * build-aux/git-hooks/commit-msg: Mention 'CONTRIBUTE'.
2015-03-23 Andreas Schwab <schwab@suse.de>
-2015-04-01 Nicolas Petton <nicolas@petton.fr>
-
- * Version 24.5 released.
-
-2015-03-25 Martin Rudalics <rudalics@gmx.at>
+ 2015-03-29 Jan Djärv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (xg_display_open):
+ * xterm.c (x_display_ok, x_term_init): Block SIGIO when opening
+ a display (Bug#19175).
+
+2015-03-29 Martin Rudalics <rudalics@gmx.at>
* gtkutil.c (update_theme_scrollbar_width): Don't round up
scroll bar width with GTK3 (Bug#20182).
bool
x_display_ok (const char *display)
{
- Display *dpy;
- // XOpenDisplay fails if it gets a signal. Block SIGIO which may arrive.
++ /* XOpenDisplay fails if it gets a signal. Block SIGIO which may arrive. */
+ unrequest_sigio ();
- dpy = XOpenDisplay (display);
+ Display *dpy = XOpenDisplay (display);
+ request_sigio ();
- return dpy ? (XCloseDisplay (dpy), 1) : 0;
+ if (!dpy)
+ return false;
+ XCloseDisplay (dpy);
+ return true;
}
#ifdef USE_GTK
/* gtk_init does set_locale. Fix locale before and after. */
fixup_locale ();
- unrequest_sigio (); // See comment in x_display_ok.
++ unrequest_sigio (); /* See comment in x_display_ok. */
gtk_init (&argc, &argv2);
+ request_sigio ();
fixup_locale ();
g_log_remove_handler ("GLib", id);
argv[argc++] = "-xrm";
argv[argc++] = xrm_option;
}
- turn_on_atimers (0);
- unrequest_sigio (); // See comment in x_display_ok.
+ turn_on_atimers (false);
++ unrequest_sigio (); /* See comment in x_display_ok. */
dpy = XtOpenDisplay (Xt_app_con, SSDATA (display_name),
resource_name, EMACS_CLASS,
emacs_options, XtNumber (emacs_options),
&argc, argv);
- turn_on_atimers (1);
+ request_sigio ();
+ turn_on_atimers (true);
#ifdef HAVE_X11XTR6
/* I think this is to compensate for XtSetLanguageProc. */