changeset 27257:6b68e8616c20

(ange-ftp-file-name-nondirectory): Don't ever include the host name or user name in the value.
author Richard M. Stallman <rms@gnu.org>
date Mon, 10 Jan 2000 08:41:22 +0000
parents fde8f0332937
children 5188825710c0
files lisp/ange-ftp.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ange-ftp.el	Mon Jan 10 08:40:49 2000 +0000
+++ b/lisp/ange-ftp.el	Mon Jan 10 08:41:22 2000 +0000
@@ -3077,7 +3077,7 @@
 	  (if (save-match-data
 		(string-match "^~[^/]*$" filename))
 	      ""
-	    (ange-ftp-real-file-name-nondirectory name)))
+	    (ange-ftp-real-file-name-nondirectory filename)))
       (ange-ftp-real-file-name-nondirectory name))))
 
 (defun ange-ftp-directory-file-name (dir)