Mercurial > emacs
comparison src/msdos.c @ 19334:c7cec07cb0e0
(syms_of_msdos): Define and bind x-bitmap-file-path and
delete-exited-processes, to prevent cus-start.el from
complaining.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 13 Aug 1997 12:46:21 +0000 |
parents | 812986c77ae2 |
children | c64809380976 |
comparison
equal
deleted
inserted
replaced
19333:af9d0a7cd7cd | 19334:c7cec07cb0e0 |
---|---|
3479 #endif | 3479 #endif |
3480 exit (2); | 3480 exit (2); |
3481 } | 3481 } |
3482 #endif | 3482 #endif |
3483 | 3483 |
3484 /* The following two are required so that customization feature | |
3485 won't complain about unbound variables. */ | |
3486 #ifndef HAVE_X_WINDOWS | |
3487 /* Search path for bitmap files (xfns.c). */ | |
3488 Lisp_Object Vx_bitmap_file_path; | |
3489 #endif | |
3490 #ifndef subprocesses | |
3491 /* Nonzero means delete a process right away if it exits (process.c). */ | |
3492 static int delete_exited_processes; | |
3493 #endif | |
3494 | |
3484 syms_of_msdos () | 3495 syms_of_msdos () |
3485 { | 3496 { |
3486 recent_doskeys = Fmake_vector (make_number (NUM_RECENT_DOSKEYS), Qnil); | 3497 recent_doskeys = Fmake_vector (make_number (NUM_RECENT_DOSKEYS), Qnil); |
3487 staticpro (&recent_doskeys); | 3498 staticpro (&recent_doskeys); |
3499 #ifndef HAVE_X_WINDOWS | |
3500 DEFVAR_LISP ("x-bitmap-file-path", &Vx_bitmap_file_path, | |
3501 "List of directories to search for bitmap files for X."); | |
3502 Vx_bitmap_file_path = decode_env_path ((char *) 0, "."); | |
3503 #endif | |
3504 #ifndef subprocesses | |
3505 DEFVAR_BOOL ("delete-exited-processes", &delete_exited_processes, | |
3506 "*Non-nil means delete processes immediately when they exit.\n\ | |
3507 nil means don't delete them until `list-processes' is run."); | |
3508 delete_exited_processes = 0; | |
3509 #endif | |
3488 | 3510 |
3489 defsubr (&Srecent_doskeys); | 3511 defsubr (&Srecent_doskeys); |
3490 defsubr (&Smsdos_long_file_names); | 3512 defsubr (&Smsdos_long_file_names); |
3491 defsubr (&Smsdos_downcase_filename); | 3513 defsubr (&Smsdos_downcase_filename); |
3492 } | 3514 } |