diff src/xmenu.c @ 73320:332f0639af48

(syms_of_xmenu): Use Ffset rather than Fdefalias, since Fdefalias is not declared in any *.h file.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 10 Oct 2006 14:22:46 +0000
parents f295b430aa3a
children ea2e12adb144 2d56e13fd23d 8dd8c8286063
line wrap: on
line diff
--- a/src/xmenu.c	Tue Oct 10 08:38:38 2006 +0000
+++ b/src/xmenu.c	Tue Oct 10 14:22:46 2006 +0000
@@ -3776,8 +3776,7 @@
 
 #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