emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [elpa] master 872014e: Prevent accidental deletion of .git


From: Eli Zaretskii
Subject: Re: [elpa] master 872014e: Prevent accidental deletion of .git
Date: Wed, 18 Nov 2015 19:35:49 +0200

> From: Stefan Monnier <address@hidden>
> Date: Wed, 18 Nov 2015 10:10:26 -0500
> Cc: "Fabián E. Gallina" <address@hidden>,
>       address@hidden
> 
> > -      (copy-file absolute-core-file-name absolute-package-file-name))
> > +      (if (memq system-type '(windows-nt ms-dos))
> > +     (copy-file absolute-core-file-name absolute-package-file-name)
> > +   (make-symbolic-link absolute-core-file-name +
> > absolute-package-file-name t)))
> 
> I don't have a Windows system to test it, but if possible I'd rather
> have something like
> 
>    (if (fboundp 'make-symbolic-link) ...)

That'd be okay for the MS-DOS case, but not for Windows: we do have
this function implemented there.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]