mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-14 07:20:35 -08:00
Allow user to specify directory to be indexed
Copied from Perforce Change: 18991 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
cfea704b82
commit
cebd3a9da7
1 changed files with 6 additions and 0 deletions
|
|
@ -8,6 +8,12 @@
|
|||
|
||||
require "require";
|
||||
|
||||
$index_dir = $qa_args[0];
|
||||
|
||||
if ($index_dir) {
|
||||
chdir($index_dir)
|
||||
}
|
||||
|
||||
opendir(DIR, ".");
|
||||
|
||||
@names = readdir(DIR);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue