I have a question about Emacs Lisp, which I believe is simple enough for most of you.


I would like to delete files in a directory.
When doing so with Linux command, we usually do,

> rm *

at that directory.

the wildcard command does not seem work similarly in Emacs Lisp.

(delete-file (subseq (file-expand-wildcards "~/Desktop/*") -1))

doesn't work.

Could anyone help me out?

soichi