diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-01-06 21:46:48 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-01-06 21:46:48 +0000 |
commit | c3f2772bfcd3e9bdd2bdbdaee2492f1f5bf5bca3 (patch) | |
tree | a5f130ddc274ec95752e20905066c7e86dba43b9 /lisp/ediff-vers.el | |
parent | 0dac6924549bf58b1c610edb03db99aae0900d34 (diff) | |
download | emacs-c3f2772bfcd3e9bdd2bdbdaee2492f1f5bf5bca3.tar.gz |
(noninteractive): Don't load generic-sc on MS-DOS
systems without long file-name support.
Diffstat (limited to 'lisp/ediff-vers.el')
-rw-r--r-- | lisp/ediff-vers.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ediff-vers.el b/lisp/ediff-vers.el index 49eeb31eaf5..71ac8bb7afe 100644 --- a/lisp/ediff-vers.el +++ b/lisp/ediff-vers.el @@ -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 |