Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
97c6019c
Commit
97c6019c
authored
Jun 16, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ange-ftp-canonize-filename): Fix wrong var name.
parent
d933a756
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lisp/ange-ftp.el
lisp/ange-ftp.el
+5
-5
No files found.
lisp/ange-ftp.el
View file @
97c6019c
...
...
@@ -851,7 +851,7 @@ SIZE, if supplied, should be a prime number."
;;;; Internal variables.
;;;; ------------------------------------------------------------
(
defconst
ange-ftp-version
"$Revision: 1.5
3
$"
)
(
defconst
ange-ftp-version
"$Revision: 1.5
4
$"
)
(
defvar
ange-ftp-data-buffer-name
" *ftp data*"
"Buffer name to hold directory listing data received from ftp process."
)
...
...
@@ -2784,12 +2784,12 @@ logged in as user USER and cd'd to directory DIR."
(
error
"Unable to obtain CWD"
)))))
;; If name starts with //, preserve that, for apollo system.
(
if
(
not
(
string-match
"^//"
path
))
(
if
(
not
(
string-match
"^//"
name
))
(
progn
(
setq
path
(
ange-ftp-real-expand-file-name
path
))
(
setq
name
(
ange-ftp-real-expand-file-name
name
))
(
if
(
string-match
"^//"
path
)
(
setq
path
(
substring
path
1
)))))
(
if
(
string-match
"^//"
name
)
(
setq
name
(
substring
name
1
)))))
;; Now substitute the expanded name back into the overall filename.
(
ange-ftp-replace-name-component
n
name
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment