all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* delete-file using wildcard
@ 2011-10-29  7:54 ishi soichi
  2011-10-29  8:12 ` Jambunathan K
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: ishi soichi @ 2011-10-29  7:54 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 629 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-10-29 20:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-29  7:54 delete-file using wildcard ishi soichi
2011-10-29  8:12 ` Jambunathan K
2011-10-29  8:48 ` Tassilo Horn
2011-10-29  8:50   ` Tassilo Horn
2011-10-29  8:57   ` ishi soichi
2011-10-29  9:03 ` Peter Dyballa
2011-10-29 14:16 ` Drew Adams
2011-10-29 20:30   ` ishi soichi

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.