emacs-devel
[Top][All Lists]
Advanced

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

directory-files and Tramp


From: Lars Hansen
Subject: directory-files and Tramp
Date: Sat, 22 Feb 2003 00:16:58 +0100
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.2.1) Gecko/20021130

Tramp is not handling the call (directory-files directory) when directory is relative and default-directory a Tramp file.
I beleive the problem can be fixed with the following patch:

diff -c dired-original.c dired.c
*** dired-original.c    Tue Feb  4 15:03:12 2003
--- dired.c    Fri Feb 21 21:07:26 2003
***************
*** 346,351 ****
--- 346,353 ----
 {
   Lisp_Object handler;

+   directory = Fexpand_file_name (directory, Qnil);
+
   /* If the file name has special constructs in it,
      call the corresponding file handler.  */
   handler = Ffind_file_name_handler (directory, Qdirectory_files);







reply via email to

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