[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Build error around new function `Fmenu_or_popup_active_p'
From: |
Shun-ichi GOTO |
Subject: |
Build error around new function `Fmenu_or_popup_active_p' |
Date: |
Mon, 06 Nov 2006 18:06:22 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.0.90 (i386-msvc-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.00-dev (KIKU) |
On cvs head, new function Fmenu_or_popup_active_p in xmenu.c is added
revision 1.312
date: 2006-11-05 12:18:47 +0000; author: eliz; state: Exp; lines: +10 -0
(Fmenu_or_popup_active_p): New function.
(syms_of_xmenu): Defsubr it.
The defun part is in condition HAVE_MENU but registration part in
syms_of_xmenu() is out of HAVE_MENU condition.
It cause compilation error on non-X-Window environment.
Here is a patch.
*** xmenu.c.~1.313.~ Mon Nov 6 11:35:52 2006
--- xmenu.c Mon Nov 6 17:50:25 2006
***************
*** 3787,3793 ****
#endif
defsubr (&Sx_popup_menu);
- defsubr (&Smenu_or_popup_active_p);
#if defined (USE_GTK) || defined (USE_X_TOOLKIT)
defsubr (&Smenu_bar_open);
--- 3787,3792 ----
***************
*** 3796,3801 ****
--- 3795,3801 ----
#ifdef HAVE_MENUS
defsubr (&Sx_popup_dialog);
+ defsubr (&Smenu_or_popup_active_p);
#endif
}
--- Regards,
Shun-ichi Goto <address@hidden>
R&D Group, TAIYO Corp., Tokyo, JAPAN
- Build error around new function `Fmenu_or_popup_active_p',
Shun-ichi GOTO <=