diff options
| author | Richard M. Stallman | 1996-05-05 18:52:57 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-05-05 18:52:57 +0000 |
| commit | fb859603163458157f107bae728cfefabff41c1a (patch) | |
| tree | e3a1f7e5c07cd1b206818c1c3ee0b57d5507d1bf /src | |
| parent | 55b933cf8f89bfdd8bcd8f201238da6e6a122c57 (diff) | |
| download | emacs-fb859603163458157f107bae728cfefabff41c1a.tar.gz emacs-fb859603163458157f107bae728cfefabff41c1a.zip | |
(Fmsdos_long_file_names): New function.
(syms_of_dosfns): defsubr it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dosfns.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dosfns.c b/src/dosfns.c index 6030f0696c3..11e30c07591 100644 --- a/src/dosfns.c +++ b/src/dosfns.c | |||
| @@ -241,6 +241,18 @@ Return nil if startup screen is not available.") | |||
| 241 | return Qt; | 241 | return Qt; |
| 242 | } | 242 | } |
| 243 | 243 | ||
| 244 | DEFUN ("msdos-long-file-names", Fmsdos_long_file_names, Smsdos_long_file_names, | ||
| 245 | 0, 0, 0, | ||
| 246 | "Return non-nil if long file names are supported. on MSDOS.") | ||
| 247 | () | ||
| 248 | { | ||
| 249 | #if __DJGPP__ >= 2 | ||
| 250 | return (! NILP (Fgetenv ("LFN")) ? Qt : Qnil); | ||
| 251 | #else | ||
| 252 | return Qnil; | ||
| 253 | #endif | ||
| 254 | } | ||
| 255 | |||
| 244 | 256 | ||
| 245 | /* country info */ | 257 | /* country info */ |
| 246 | int dos_country_code; | 258 | int dos_country_code; |
| @@ -320,6 +332,7 @@ syms_of_dosfns () | |||
| 320 | defsubr (&Smsdos_set_keyboard); | 332 | defsubr (&Smsdos_set_keyboard); |
| 321 | defsubr (&Sinsert_startup_screen); | 333 | defsubr (&Sinsert_startup_screen); |
| 322 | defsubr (&Smsdos_mouse_disable); | 334 | defsubr (&Smsdos_mouse_disable); |
| 335 | defsubr (&Smsdos_long_file_names); | ||
| 323 | #ifndef HAVE_X_WINDOWS | 336 | #ifndef HAVE_X_WINDOWS |
| 324 | defsubr (&Smsdos_mouse_p); | 337 | defsubr (&Smsdos_mouse_p); |
| 325 | defsubr (&Sset_mouse_position); | 338 | defsubr (&Sset_mouse_position); |