aboutsummaryrefslogtreecommitdiffstats
path: root/src/dired.c
diff options
context:
space:
mode:
authorKaroly Lorentey2003-12-28 16:05:28 +0000
committerKaroly Lorentey2003-12-28 16:05:28 +0000
commit8ed48c277afad174675b3d6dcb8e7b00a4bcc97d (patch)
tree53d9baa35f9420264e2f53ad4db850c400c3e2c6 /src/dired.c
parent2e7f2ec031f1708b80df9dc1f60f6b1cb24a5c02 (diff)
parent69348b2a71cbabeb23e3b7d5dce354c5bc4bd311 (diff)
downloademacs-8ed48c277afad174675b3d6dcb8e7b00a4bcc97d.tar.gz
emacs-8ed48c277afad174675b3d6dcb8e7b00a4bcc97d.zip
Merged in changes from CVS HEAD
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-1 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-2 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-3 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-17
Diffstat (limited to 'src/dired.c')
-rw-r--r--src/dired.c27
1 files changed, 4 insertions, 23 deletions
diff --git a/src/dired.c b/src/dired.c
index 52a19f4fdc6..3bcd3051c25 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -359,17 +359,8 @@ If NOSORT is non-nil, the list is not sorted--its order is unpredictable.
359 call the corresponding file handler. */ 359 call the corresponding file handler. */
360 handler = Ffind_file_name_handler (directory, Qdirectory_files); 360 handler = Ffind_file_name_handler (directory, Qdirectory_files);
361 if (!NILP (handler)) 361 if (!NILP (handler))
362 { 362 return call5 (handler, Qdirectory_files, directory,
363 Lisp_Object args[6]; 363 full, match, nosort);
364
365 args[0] = handler;
366 args[1] = Qdirectory_files;
367 args[2] = directory;
368 args[3] = full;
369 args[4] = match;
370 args[5] = nosort;
371 return Ffuncall (6, args);
372 }
373 364
374 return directory_files_internal (directory, full, match, nosort, 0, Qnil); 365 return directory_files_internal (directory, full, match, nosort, 0, Qnil);
375} 366}
@@ -395,18 +386,8 @@ ID-FORMAT specifies the preferred format of attributes uid and gid, see
395 call the corresponding file handler. */ 386 call the corresponding file handler. */
396 handler = Ffind_file_name_handler (directory, Qdirectory_files_and_attributes); 387 handler = Ffind_file_name_handler (directory, Qdirectory_files_and_attributes);
397 if (!NILP (handler)) 388 if (!NILP (handler))
398 { 389 return call6 (handler, Qdirectory_files_and_attributes,
399 Lisp_Object args[7]; 390 directory, full, match, nosort, id_format);
400
401 args[0] = handler;
402 args[1] = Qdirectory_files_and_attributes;
403 args[2] = directory;
404 args[3] = full;
405 args[4] = match;
406 args[5] = nosort;
407 args[6] = id_format;
408 return Ffuncall (7, args);
409 }
410 391
411 return directory_files_internal (directory, full, match, nosort, 1, id_format); 392 return directory_files_internal (directory, full, match, nosort, 1, id_format);
412} 393}