]> git.eshelyaron.com Git - emacs.git/commit
directory-files cleanup and speed tweaking
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 16 Sep 2019 20:54:57 +0000 (13:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 16 Sep 2019 20:55:23 +0000 (13:55 -0700)
commit2335704fccc2a5088c864bea1f10b4f0ef788e6b
tree98284d464e2143906cb2f9650400b0db85114bb8
parent1a84d8fba4b526f7c8f240b8163e66714a41cca6
directory-files cleanup and speed tweaking

* src/dired.c (directory_files_internal):
Check ‘match’ before doing anything heavyweight.
Move decls closer to use.
Remove obsolete comments about GC.
No need to encode ‘directory’ or to call multibyte_chars_in_text.
Remove no-longer-needed bug check.
Skip finalname construction if file_attributes fails.
src/dired.c