unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* symlink to dir and delete-file
@ 2003-05-29 21:15 Kin Cho
  0 siblings, 0 replies; only message in thread
From: Kin Cho @ 2003-05-29 21:15 UTC (permalink / raw)


(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.

-kin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-29 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-29 21:15 symlink to dir and delete-file Kin Cho

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).