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: Stephen Leake
Subject: Re: [elpa] master 872014e: Prevent accidental deletion of .git
Date: Wed, 18 Nov 2015 10:44:17 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt)

Stefan Monnier <address@hidden> writes:

> I don't have a Windows system to test it, but if possible I'd rather
> have something like
>
>    (if (fboundp 'make-symbolic-link) ...)

make-symbolic-link is bound on Windows.

> or
>
>    (condition-case nil
>        (make-symbolic-link absolute-core-file-name
>                            absolute-package-file-name t)
>      (<the-error-signalled-by-make-symbolic-link>
>       (copy-file absolute-core-file-name absolute-package-file-name)))

The error is 'file-error

-- 
-- Stephe



reply via email to

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