]> git.eshelyaron.com Git - emacs.git/commitdiff
(syms_of_msdos): Define and bind x-bitmap-file-path and
authorEli Zaretskii <eliz@gnu.org>
Wed, 13 Aug 1997 12:46:21 +0000 (12:46 +0000)
committerEli Zaretskii <eliz@gnu.org>
Wed, 13 Aug 1997 12:46:21 +0000 (12:46 +0000)
delete-exited-processes, to prevent cus-start.el from
complaining.

src/msdos.c

index a35e1bce552fab3b93fec905f870191b1cbb31af..be7f3cf5ba5c22fc61724f460864e9510f11597c 100644 (file)
@@ -3481,10 +3481,32 @@ abort ()
 }
 #endif
 
+/* The following two are required so that customization feature
+   won't complain about unbound variables.  */
+#ifndef HAVE_X_WINDOWS
+/* Search path for bitmap files (xfns.c).  */
+Lisp_Object Vx_bitmap_file_path;
+#endif
+#ifndef subprocesses
+/* Nonzero means delete a process right away if it exits (process.c).  */
+static int delete_exited_processes;
+#endif
+
 syms_of_msdos ()
 {
   recent_doskeys = Fmake_vector (make_number (NUM_RECENT_DOSKEYS), Qnil);
   staticpro (&recent_doskeys);
+#ifndef HAVE_X_WINDOWS
+  DEFVAR_LISP ("x-bitmap-file-path", &Vx_bitmap_file_path,
+    "List of directories to search for bitmap files for X.");
+  Vx_bitmap_file_path = decode_env_path ((char *) 0, ".");
+#endif
+#ifndef subprocesses
+  DEFVAR_BOOL ("delete-exited-processes", &delete_exited_processes,
+    "*Non-nil means delete processes immediately when they exit.\n\
+nil means don't delete them until `list-processes' is run.");
+  delete_exited_processes = 0;
+#endif
 
   defsubr (&Srecent_doskeys);
   defsubr (&Smsdos_long_file_names);