[Top][All Lists]

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

symlink to dir and delete-file

From: Kin Cho
Subject: symlink to dir and delete-file
Date: 29 May 2003 14:15:42 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

(delete-file "/foo/bar") errors out with 

(file-error Removing old name: is a directory /foo/bar)

if /foo/bar is a symlink to a directory.

It should remove the symlink, even though file-directory-p
returns t for /foo/bar.


reply via email to

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