[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't interrupt directory_files_internal run from timer-event-handle
Re: Can't interrupt directory_files_internal run from timer-event-handler
Sat, 06 Aug 2005 09:57:08 +0300
> From: "Richard M. Stallman" <address@hidden>
> Date: Fri, 05 Aug 2005 16:38:14 -0400
> Cc: address@hidden
> Alternatively, it could use start-process to run ls asychronously
> as a way to find out whether the directory is empty.
There's no need to run any program just to know if a directory is
empty. Emacs has primitives which will tell that directly (e.g.,
file-attributes) and do that faster.
Re: Can't interrupt directory_files_internal run from timer-event-handler, Stefan Monnier, 2005/08/09