From: Stefan Monnier Date: Tue, 10 Oct 2006 14:22:46 +0000 (+0000) Subject: (syms_of_xmenu): Use Ffset rather than Fdefalias, since X-Git-Tag: emacs-pretest-22.0.90~171 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=de9855d5a3ca490f67933aa1ae5a88f571199626;p=emacs.git (syms_of_xmenu): Use Ffset rather than Fdefalias, since Fdefalias is not declared in any *.h file. --- diff --git a/src/ChangeLog b/src/ChangeLog index 646fb439843..aa603feab4b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2006-10-10 Stefan Monnier + + * xmenu.c (syms_of_xmenu): Use Ffset rather than Fdefalias, since + Fdefalias is not declared in any *.h file. + 2006-10-09 Chong Yidong * dispnew.c (sit_for): Sit forever if TIMEOUT is t. @@ -11,14 +16,14 @@ 2006-10-08 YAMAMOTO Mitsuharu - * macterm.c (mac_draw_image_string, mac_draw_image_string_16): Add - argument OVERSTRIKE_P. + * macterm.c (mac_draw_image_string, mac_draw_image_string_16): + Add argument OVERSTRIKE_P. (mac_draw_string_common, mac_draw_image_string_cg): Likewise. Support overstrike. (mac_draw_string, mac_draw_string_16): Remove functions. (x_draw_glyph_string_foreground): Use overstrike when needed. - (x_draw_composite_glyph_string_foreground): Likewise. Use - mac_draw_image_string_16 instead of mac_draw_string_16. + (x_draw_composite_glyph_string_foreground): Likewise. + Use mac_draw_image_string_16 instead of mac_draw_string_16. (mac_load_query_font): Rename from XLoadQueryFont. Take argument F instead of DPY. All uses changed. Don't save/restore font. @@ -111,8 +116,8 @@ 2006-09-24 Eli Zaretskii - * makefile.w32-in ($(BLD)/fns.$(O), $(BLD)/w32proc.$(O)): Depend - on nt/inc/langinfo.h and nt/inc/nl_types.h. + * makefile.w32-in ($(BLD)/fns.$(O), $(BLD)/w32proc.$(O)): + Depend on nt/inc/langinfo.h and nt/inc/nl_types.h. * w32proc.c (nl_langinfo): New function. @@ -294,8 +299,7 @@ 2006-09-15 David Kastrup - * Makefile.in (keymap.o): Add "keymap.h" and "window.h" - dependencies. + * Makefile.in (keymap.o): Add "keymap.h" and "window.h" dependencies. * keymap.c: include "window.h". (Fcommand_remapping): New optional POSITION argument. diff --git a/src/xmenu.c b/src/xmenu.c index 63dfb5102bd..d049fb99c66 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -3776,8 +3776,7 @@ syms_of_xmenu () #if defined (USE_GTK) || defined (USE_X_TOOLKIT) defsubr (&Smenu_bar_open); - Fdefalias (intern ("accelerate-menu"), intern (Smenu_bar_open.symbol_name), - Qnil); + Ffset (intern ("accelerate-menu"), intern (Smenu_bar_open.symbol_name)); #endif #ifdef HAVE_MENUS