# HG changeset patch # User Richard M. Stallman # Date 903415755 0 # Node ID 39b3f4c74b934dfefd86dea36a8077ad19edb5fa # Parent 18ed8d6b11e518846c4552d936eb32c3816fbc45 (ange-ftp-file-name-sans-versions): Don't return the shortened version of the file name. diff -r 18ed8d6b11e5 -r 39b3f4c74b93 lisp/ange-ftp.el --- a/lisp/ange-ftp.el Tue Aug 18 04:27:37 1998 +0000 +++ b/lisp/ange-ftp.el Tue Aug 18 04:49:15 1998 +0000 @@ -4283,9 +4283,9 @@ "Alist of mapping host type into function to remove file version numbers.") (defun ange-ftp-file-name-sans-versions (file keep-backup-version) - (setq file (ange-ftp-abbreviate-filename file)) - (let ((parsed (ange-ftp-ftp-name file)) - host-type func) + (let* ((short (ange-ftp-abbreviate-filename file)) + (parsed (ange-ftp-ftp-name short)) + host-type func) (if parsed (setq host-type (ange-ftp-host-type (car parsed)) func (cdr (assq (ange-ftp-host-type (car parsed))