help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: traverse a directory


From: Xah Lee
Subject: Re: traverse a directory
Date: Wed, 2 Jan 2008 20:30:13 -0800 (PST)
User-agent: G2/1.0

Xah Lee wrote:
「if i want to recurse into a directory, do i have to write my own?」

Eli Zaretskii <address@hidden> wrote:
「Take a look at the package find-lisp.el, which is bundled with Emacs
22.  It has infrastructure for what you want.  In particular, there's
the `find-lisp-find-files-internal' function that recursively
traverses a directory.」

Thanks. That does it.

(require 'find-lisp)
(find-lisp-find-files "~/web/" "\\.html$")

  Xah
  address@hidden
\xAD\xF4 http://xahlee.org/


reply via email to

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