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

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

Re: elisp question


From: Tim McNamara
Subject: Re: elisp question
Date: Thu, 01 Dec 2005 13:25:28 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

Lennart Borgman <lennart.borgman.073@student.lu.se> writes:

> Tim McNamara wrote:
>
>>Seems to me that there are two steps.  One is to count how many
>>files are in the directory, and to use that count as the limit for
>>(random).  Then to take the "random" number generated by (random)
>>and use it with find-file.
>>
>>Pointers to relevant information are much appreciated!  I am
>>probably not even starting in the right place.
>>  
>>
> Maybe you can use the function `directory-files'?


Thanks, I'll look into that.


reply via email to

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