aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-05-06 10:21:23 +0000
committerRichard M. Stallman1996-05-06 10:21:23 +0000
commit345dd8f75a4c772e970df02014bcb42ac437d7de (patch)
treee98e785027361df712ca27b78d9cbcf2595cc71b /src
parent9685838286b21ac7e7d1a4992f6b567aa0fb6613 (diff)
downloademacs-345dd8f75a4c772e970df02014bcb42ac437d7de.tar.gz
emacs-345dd8f75a4c772e970df02014bcb42ac437d7de.zip
(Fmsdos_long_file_names): New function.
(syms_of_msdos): Defsubr it.
Diffstat (limited to 'src')
-rw-r--r--src/msdos.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 60cd73ae0ca..cc05323c97f 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -2225,7 +2225,13 @@ __write (int handle, const void *buffer, size_t count)
2225 2225
2226#endif /* __DJGPP__ == 2 && __DJGPP_MINOR__ == 0 */ 2226#endif /* __DJGPP__ == 2 && __DJGPP_MINOR__ == 0 */
2227 2227
2228 2228DEFUN ("msdos-long-file-names", Fmsdos_long_file_names, Smsdos_long_file_names,
2229 0, 0, 0,
2230 "Return non-nil if long file names are supported on MSDOS.")
2231 ()
2232{
2233 return (_USE_LFN ? Qt : Qnil);
2234}
2229 2235
2230/* The Emacs root directory as determined by init_environment. */ 2236/* The Emacs root directory as determined by init_environment. */
2231 2237
@@ -2917,6 +2923,7 @@ syms_of_msdos ()
2917 staticpro (&recent_doskeys); 2923 staticpro (&recent_doskeys);
2918 2924
2919 defsubr (&Srecent_doskeys); 2925 defsubr (&Srecent_doskeys);
2926 defsubt (&Smsdos_long_file_names);
2920} 2927}
2921 2928
2922#endif /* MSDOS */ 2929#endif /* MSDOS */