(Fmsdos_long_file_names): New function.
authorRichard M. Stallman <rms@gnu.org>
Mon, 6 May 1996 10:21:23 +0000 (10:21 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 6 May 1996 10:21:23 +0000 (10:21 +0000)
(syms_of_msdos): Defsubr it.

src/msdos.c

index 60cd73a..cc05323 100644 (file)
@@ -2225,7 +2225,13 @@ __write (int handle, const void *buffer, size_t count)
 
 #endif /* __DJGPP__ == 2 && __DJGPP_MINOR__ == 0 */
 
-
+DEFUN ("msdos-long-file-names", Fmsdos_long_file_names, Smsdos_long_file_names,
+  0, 0, 0,
+  "Return non-nil if long file names are supported on MSDOS.")
+  ()
+{
+  return (_USE_LFN ? Qt : Qnil);
+}
 \f
 /* The Emacs root directory as determined by init_environment.  */
 
@@ -2917,6 +2923,7 @@ syms_of_msdos ()
   staticpro (&recent_doskeys);
 
   defsubr (&Srecent_doskeys);
+  defsubt (&Smsdos_long_file_names);
 }
 
 #endif /* MSDOS */