> 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.
If directory-files blocks (on a failed NFS server), file-attributes is pretty likely to block just as well, in which case `ls' may be a good way to do the equivalent of running directory-files asynchronously. Stefan _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel