]> code.delx.au - gnu-emacs/commitdiff
Merge from origin/emacs-24
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 Mar 2015 21:24:19 +0000 (14:24 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 29 Mar 2015 21:24:19 +0000 (14:24 -0700)
4d2e7e1 Fixes: debbugs:19175
2e0cfcc Fix the preamble text of the DIR file we install  (Bug#20213)
22ece83 src/w32proc.c: Describe in a comment w32 subprocess implementation.

Conflicts:
ChangeLog
src/ChangeLog
src/xterm.c

1  2 
ChangeLog
src/ChangeLog
src/gtkutil.c
src/w32proc.c
src/xterm.c

diff --cc ChangeLog
index f550c6d9c63a36f24973a070d016305db483b1e5,9019b5569435fe35ca5f3f82448f33439a03e725..f45e32fbc28fde31cf3e7426b0a9ad2d350b56dd
+++ b/ChangeLog
@@@ -1,11 -1,11 +1,16 @@@
 -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>
  
diff --cc src/ChangeLog
index c11ecb7e3ae7d94ccdb53a16487eba09fd837374,39b3c9fc4c50add46a4af0618065e9ac99d12ce7..f0ed9e74745d2e6920ba6e1ef3e4901d23101a09
@@@ -1,4 -1,14 +1,10 @@@
 -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).
diff --cc src/gtkutil.c
Simple merge
diff --cc src/w32proc.c
Simple merge
diff --cc src/xterm.c
index 03c081179a6fabf92bbdab290034b12259c6fd07,2ac2fe84e52717f0aef798a88d8872af87516aac..bdc85ae71fc3417785f5ad34c058e6f9b0b29898
@@@ -10684,11 -9719,12 +10684,14 @@@ get_bits_and_offset (unsigned long mask
  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
@@@ -10864,7 -9815,9 +10867,9 @@@ x_term_init (Lisp_Object display_name, 
  
          /* 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.  */