diff src/emacs.c @ 120:cca96a509cfe r20-1b12

Import from CVS: tag r20-1b12
author cvs
date Mon, 13 Aug 2007 09:25:29 +0200
parents fe104dbd9147
children 1370575f1259
line wrap: on
line diff
--- a/src/emacs.c	Mon Aug 13 09:24:19 2007 +0200
+++ b/src/emacs.c	Mon Aug 13 09:25:29 2007 +0200
@@ -43,6 +43,9 @@
 #include "sysfile.h"
 #include "systime.h"
 
+/* Hack to get version number in stack backtraces */
+#include "xemacs-version.h"
+
 #if defined (HAVE_LOCALE_H) && \
    (defined (I18N2) || defined (I18N3) || defined (I18N4))
 #include <locale.h>
@@ -690,15 +693,6 @@
 	display_use = "x";
       
 #endif /* HAVE_X_WINDOWS */
-
-#ifdef HAVE_NEXTSTEP
-      if (argmatch (argv, argc, "-NXHost",     0, 6, 0, &skip_args) ||
-	  argmatch (argv, argc, "-MachLaunch", 0, 9, 0, &skip_args))
-	{
-	  display_arg = 1;
-	  display_use = "ns";
-	}
-#endif /* HAVE_NEXTSTEP */
     }
 #endif /* HAVE_WINDOW_SYSTEM */
 
@@ -875,20 +869,6 @@
 #endif
 #endif /* HAVE_X_WINDOWS */
 
-#ifdef HAVE_NEXTSTEP
-      syms_of_device_ns ();
-      syms_of_frame_ns ();
-      syms_of_glyphs_ns ();
-      syms_of_objects_ns ();
-#ifdef HAVE_MENUBARS
-      syms_of_menubar_ns ();
-#endif
-      syms_of_nsselect ();
-#ifdef HAVE_SCROLLBARS
-      syms_of_scrollbar_ns ();
-#endif
-#endif /* HAVE_NEXTSTEP */
-
 #ifdef MULE
       syms_of_mule ();
       syms_of_mule_ccl ();