# HG changeset patch # User Juanma Barranquero # Date 1224668010 0 # Node ID 06856faf917a38ad4548739a56bb99b77a2caac6 # Parent 818518dca5522fcc35f8ecf2658845beded0ede7 * w32fns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. Copied from 2005-02-03 change to xfns.c by Kim F. Storm. diff -r 818518dca552 -r 06856faf917a src/ChangeLog --- a/src/ChangeLog Wed Oct 22 06:47:06 2008 +0000 +++ b/src/ChangeLog Wed Oct 22 09:33:30 2008 +0000 @@ -1,3 +1,8 @@ +2008-10-22 Juanma Barranquero + + * w32fns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. + Copied from 2005-02-03 change to xfns.c by Kim F. Storm. + 2008-10-22 Kenichi Handa * syntax.c (scan_words): Call word_boundary_p instead of comparing @@ -21,7 +26,7 @@ (Fkill_buffer): Rename arg "buffer" to "buffer_or_name" and make it optional. (no_switch_window): Remove since the return value is not used. - (Fswitch_to_buffer): Rename arg "buffer" to "buffer_or_name". + (Fswitch_to_buffer): Rename arg "buffer" to "buffer_or_name". Consider window as dedicated when Fwindow_dedicated_p returns a non-nil value. * lisp.h: Remove prototype for no_switch_window. @@ -144,8 +149,7 @@ 2008-10-07 Chong Yidong - * gtkutil.c (xg_display_open): Reset default display if none - exists. + * gtkutil.c (xg_display_open): Reset default display if none exists. (xg_display_close): Allow Emacs to close all displays (bug#985). 2008-10-06 Andreas Schwab @@ -158,7 +162,7 @@ * emacs.c (Vbefore_init_time, Vafter_init_time): Moved from startup.el. - * lisp.h: (Vbefore_init_time, Vafter_init_time): Declare. + * lisp.h (Vbefore_init_time, Vafter_init_time): Declare. * gtkutil.c (x_wm_set_size_hint): Return immediately if called during initialization. @@ -204,16 +208,16 @@ (FRAME_NEW_CURSOR_COLOR): Remove. * nsfns.m (ns_set_cursor_color): Use FRAME_CURSOR_COLOR. - (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core emacs + (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core Emacs enumeration (HOLLOW_BOX_CURSOR, etc.). * nsterm.m (ns_frame_rehighlight): Remove commented code. (draw_window_cursor): Simplify code. (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): Don't - change cursor type. In latter, call rehighlight instead of doing + change cursor type. In latter, call rehighlight instead of doing updates manually. - (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): Use - core emacs cursor types. + (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): + Use core Emacs cursor types. * xdisp.c (draw_glyphs): Don't call notice_overwritten_cursor() under NS. diff -r 818518dca552 -r 06856faf917a src/w32fns.c --- a/src/w32fns.c Wed Oct 22 06:47:06 2008 +0000 +++ b/src/w32fns.c Wed Oct 22 09:33:30 2008 +0000 @@ -4155,10 +4155,11 @@ x_free_frame_resources (f); +#if GLYPH_DEBUG /* Check that reference counts are indeed correct. */ xassert (dpyinfo->reference_count == dpyinfo_refcount); xassert (dpyinfo->image_cache->refcount == image_cache_refcount); - +#endif return Qt; }