emacs-devel
[Top][All Lists]
Advanced

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

Re: Can't interrupt directory_files_internal run from timer-event-handle


From: Eli Zaretskii
Subject: Re: Can't interrupt directory_files_internal run from timer-event-handler
Date: 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.




reply via email to

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