diff lisp/ediff-vers.el @ 35109:1b58126efb71

(noninteractive): Don't load generic-sc on MS-DOS systems without long file-name support.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 06 Jan 2001 21:43:25 +0000
parents f8c8c2d3538e
children 7a94f1c588c4
line wrap: on
line diff
--- a/lisp/ediff-vers.el	Sat Jan 06 21:38:18 2001 +0000
+++ b/lisp/ediff-vers.el	Sat Jan 06 21:43:25 2001 +0000
@@ -36,7 +36,13 @@
      (eval-when-compile
        (load "pcl-cvs" 'noerror)
        (load "rcs" 'noerror)
-       (load "generic-sc" 'noerror)
+       ;; On 8+3 MS-DOS filesystems, generic-x.el is loaded
+       ;; instead of (the missing) generic-sc.el.  Since the
+       ;; version of Emacs which supports MS-DOS doesn't have
+       ;; generic-sc, we simply avoid loading it.
+       (or (and (fboundp 'msdos-long-file-names)
+		(not (msdos-long-file-names)))
+	   (load "generic-sc" 'noerror))
        (load "vc" 'noerror)))
 ;; end pacifier