changeset 35517:28fcaa2d37b0

(syms_of_xdisp) <Stool_bar_lines_needed>: Don't defsubr if HAVE_WINDOW_SYSTEM isn't defined.
author Eli Zaretskii <eliz@gnu.org>
date Wed, 24 Jan 2001 17:31:52 +0000
parents 05a619c13dea
children 4494ed367f7c
files src/xdisp.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jan 24 16:51:54 2001 +0000
+++ b/src/xdisp.c	Wed Jan 24 17:31:52 2001 +0000
@@ -13961,7 +13961,9 @@
   defsubr (&Strace_redisplay_toggle);
   defsubr (&Strace_to_stderr);
 #endif
+#ifdef HAVE_WINDOW_SYSTEM
   defsubr (&Stool_bar_lines_needed);
+#endif
 
   staticpro (&Qmenu_bar_update_hook);
   Qmenu_bar_update_hook = intern ("menu-bar-update-hook");